How to hide the number of images in a category

Phoca Gallery - image gallery extension
sitzikbs
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 10 Apr 2010, 14:39

How to hide the number of images in a category

Post by sitzikbs »

Hi,
In phocagallery category view the number of images in a category is displayed. For example : category name (37).
I dont want this number to appear, how do i hide it ?

I found this post
https://www.phoca.cz/forum/viewtopic.php?f=1&t=10017#p41442
on the subject but its rather old and when i opened the file they mentioned there was no matching code.

thanks
jeffreyccs
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Apr 2012, 15:12

Re: How to hide the number of images in a category

Post by jeffreyccs »

Hi

Try inserting the following in your template.css file.

Code: Select all

div.pg-cats-box-float td span {
display: none;
}
Works for me

Regards

Jeff
sitzikbs
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 10 Apr 2010, 14:39

Re: How to hide the number of images in a category

Post by sitzikbs »

Thank you jeff, that worked just great. :twisted:
sitzikbs
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 10 Apr 2010, 14:39

Re: How to hide the number of images in a category

Post by sitzikbs »

hi
so my website was hacked and deleted so i had to do everything all over again.
it seems that all of a sudden i have a problem with this fix.
i cant locate
if ($this->categories[$i]->numlinks > 0) {
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
}
In /components/com_phocagallery/views/categories/tmp/default.php

its just not there anymore. how do i fix this ?
thanks
sylvio42
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 13 Aug 2012, 22:57

Re: How to hide the number of images in a category

Post by sylvio42 »

Where can i find this template.css, i dont know the folder where it is!
sitzikbs
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 10 Apr 2010, 14:39

Re: How to hide the number of images in a category

Post by sitzikbs »

its usually located in
public_html/templates/*your template name*/css
where
*your template name* is the name of the template that you are using
Post Reply