How can I remove info from the Categories view detail info?

Phoca Gallery - image gallery extension
nextlevel
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2010, 19:37

How can I remove info from the Categories view detail info?

Post by nextlevel »

Hello Phoca Forum Members,
I have been digging for a bit. How could I remove "Number of images in category:" & "Category viewed: x" from the Categories view with detail information? I really like the layout but would like to get rid of that information (I already figured out how to remove the rating).

Thank you in advance for your help.
Ronny
Phoca Professional
Phoca Professional
Posts: 211
Joined: 03 Nov 2009, 20:31
Location: Germany
Contact:

Re: How can I remove info from the Categories view detail info?

Post by Ronny »

Hi,

this you can set in the Categories View Settings (List of Categories) section of the parameters. If in the drop-down list Display Categories Style a style with detail information is selected, the Number of images in category and Category viewed is displayed - so select one without that detail information.

Regards,
Ronny
nextlevel
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2010, 19:37

Re: How can I remove info from the Categories view detail info?

Post by nextlevel »

Hello Ronny,
Thank you for the reply. However this is not the solution I am looking for. I want to keep the look and feel of the "Categories, images and detail information" layout, but without "Number of images in category:" & "Category viewed: x".

Just like you can remove the ratings from this view, I would like to remove "Number of images in category:" & "Category viewed: x". Unfortunately, the other view modes, are just too boring (visually).

Basically I am looking for something in-between those two view settings... less information (like "categories and images") with better layout and styling (like "Categories, images and detail information").

Are there any templates or modifications for the view modes that can give me the styling I want but without the excess detail information?

Thank you.
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: How can I remove info from the Categories view detail info?

Post by siddan »

Hi

You have to edit the core files in order to hide what you want.

I also wanted to remove the"Number of images in category" cus it always displayed zero since I have all my images in subfolders.

So I found this file:
/com_phocagallery/views/categories/tmpl/default.php
Row 313

Just comment out the code you do not want to display
Post Reply