Page 1 of 1

Disable using filename as default image description

Posted: Wed Mar 06, 2013 7:27 am
by Ira13
Using Gallery Template-Classic galleys and Popup Engin - Piroboks.
Please tell me, can disable the standard description to the photos? So if it is not specified, then nothing is output.

Re: Description

Posted: Thu Mar 07, 2013 10:05 pm
by Vasiljevski
Yes, but you need to edit : [joomla]plugins\content\admirorgallery\admirorgallery\classes\agGallery.php LINE:407

Code: Select all

                    // Set image name as imageDescription value, as predifined value
                    $this->descArray[$f] = $f;
and change it to:

Code: Select all

                    // Set image name as imageDescription value, as predifined value
                    $this->descArray[$f] ="";
So now, if there is no specific description none will be displayed.

Re: Disable using filename as default image description

Posted: Thu Mar 07, 2013 11:10 pm
by Ira13
Thank you very much, now when I points to the photo is not description, but in the Popur appear link.

Re: Disable using filename as default image description

Posted: Fri Mar 08, 2013 7:41 am
by Ira13
Edited file pirobox.js, everything works.