Page 1 of 1

Phoca Gallery Plugin Description Issue

Posted: 07 May 2013, 22:01
by rallyelwood
Hi.
I have in the global settings for Phoca gallery set that the image description shall be shown in the lightbox (slimbox) and also as the image alt-text. This works fine when I look in the gallery in the front-end. But when the gallery is inserted in an article (using Phoca Gallery Plugin and Phoca Gallery Button Plugin) it is the title that is shown instead for both these.

This is what the Phoca Gallery Plugin code in the article looks like:

{phocagallery view=category|categoryid=2|limitstart=0|limitcount=0|displaydescription=1}

Any idea what could be wrong?

I'm using Joomla 2.5.11 and Phoca Gallery 3.2.1

Thanks in advance.
Br.
Henning

Re: Phoca Gallery Plugin Description Issue

Posted: 09 May 2013, 16:47
by rallyelwood

Re: Phoca Gallery Plugin Description Issue

Posted: 25 May 2013, 01:05
by Jan
Hi, the Alt value is not a plugin feature. Some image popup methods display the description set in ALT value. So the parameter for the plugin (description) is displayed only in iframe popup methods. To display in image popup methods, the plugin needs to be customized and the component feature needs to be added there.
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

Jan

Re: Phoca Gallery Plugin Description Issue

Posted: 25 May 2013, 09:19
by rallyelwood
Jan wrote:Hi, the Alt value is not a plugin feature. Some image popup methods display the description set in ALT value. So the parameter for the plugin (description) is displayed only in iframe popup methods. To display in image popup methods, the plugin needs to be customized and the component feature needs to be added there...
Thanks for explaining. Too bad that the alt value isn't a feature in the plugin since it seems to be that in the main component...

I'm kind of a newbie to this, so could you point me to the files that needs to be modified for this to work in the plugin as well?

Re: Phoca Gallery Plugin Description Issue

Posted: 25 May 2013, 15:06
by Jan
Hi, try to compoare the php of plugin code and output code of components:

plugins/content/phocagallery.php

components/com_phocagallery/views/category/tmpl/ ...

Jan