Photoswipe display description vs file name

Phoca Gallery - image gallery extension
assospiz
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 29 Sep 2011, 09:06

Photoswipe display description vs file name

Post by assospiz »

Hello,
it's possibile configure photoswipe display with the description instead file name?
Thanks
Regards
Assospiz

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe display description vs file name

Post by Jan »

Hi,

see components\com_phocagallery\views\category\tmpl\default_images.php line cca 152

change
FROM:

Code: Select all

echo '<figcaption itemprop="caption description">'. $cv->title.'</figcaption>';
TO:

Code: Select all

echo '<figcaption itemprop="caption description">'. $cv->description.'</figcaption>';
Jan
If you find Phoca extensions useful, please support the project
assospiz
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 29 Sep 2011, 09:06

Re: Photoswipe display description vs file name

Post by assospiz »

Hallo,
would it be possible to add in the control panel the options for choosing title, description, title and description as for Lightbox JAK?
Thank you so much for all the work done for us.
Assospiz
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe display description vs file name

Post by Jan »

Hi, added to feature request list.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe display description vs file name

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply