Page 1 of 1
How to hide the number of images in a category
Posted: 31 Mar 2012, 13:09
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
Re: How to hide the number of images in a category
Posted: 02 Apr 2012, 20:55
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
Re: How to hide the number of images in a category
Posted: 02 Apr 2012, 22:29
by sitzikbs
Thank you jeff, that worked just great.

Re: How to hide the number of images in a category
Posted: 10 Aug 2012, 00:09
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
Re: How to hide the number of images in a category
Posted: 13 Aug 2012, 23:00
by sylvio42
Where can i find this template.css, i dont know the folder where it is!
Re: How to hide the number of images in a category
Posted: 13 Aug 2012, 23:05
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