Page 1 of 1

File Names

Posted: Fri Jul 15, 2011 8:29 pm
by khadley
I don't want the file name to show up on the gallery pop up, how do i get rid of it? i've chosen Plain Text Captions/NO but the name still shows.
http://www.imaginationslive.com/southam ... Itemid=458

Re: File Names

Posted: Sat Jul 16, 2011 2:24 pm
by Vasiljevski
Plain Text Captions define if you would like to use HTML in you captions :)

Well if you don't want to mess with code changes, you can open every image in Image Manager and add blank space for image captions (open Image Manager, click on the image, the text-boxes below) Or you can enter some meaningful caption if you like :)

Other solution is to apply changes in code, let me know if you want to do this and I will explain what file you need to change ;)

Re: File Names

Posted: Sat Jul 16, 2011 3:23 pm
by khadley
I'm comfortable working in the code, so yes, please send me what i have to change there.

Re: File Names

Posted: Sun Jul 17, 2011 3:53 pm
by Vasiljevski
You only need to change one line, in fact :)
Open: [root]plugins\content\AdmirorGallery\classes\agGallery.php

And change line 386 :

Code: Select all

$this->descArray[$f] = $f;
Into :

Code: Select all

$this->descArray[$f] = "";
This will set default caption to be blank instead of using the image filename :)