Phoca Gallery Plugin Description Issue

Phoca Gallery plugins - plugins for Phoca Gallery extension
rallyelwood
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 May 2013, 21:25

Phoca Gallery Plugin Description Issue

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin Description Issue

Post 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
If you find Phoca extensions useful, please support the project
rallyelwood
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 May 2013, 21:25

Re: Phoca Gallery Plugin Description Issue

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin Description Issue

Post 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
If you find Phoca extensions useful, please support the project
Post Reply