Display image id not the default category title on Category

Phoca Gallery - image gallery extension
gudohombe
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Jan 2016, 01:20

Display image id not the default category title on Category

Post by gudohombe »

Hi Guys,

I am not well equiped with php and I need your help. I would like to display an image id on every image that I display on my category view page linked on my main menu item instead of the default image title that get displayed on my images. So I would like people to tell me that image number XXX looks good.

Your help would be greatly appreciated.

Thank you

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

Re: Display image id not the default category title on Categ

Post by Jan »

Hi, so in this case just change the title to id in php output: e.g. in category view:

components\com_phocagallery\views\category\tmpl\default_images.php

cca line 145: change the: $cv->title to $cv->id

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