Page 2 of 2
Re: How to hide the number of images in a category?
Posted: 27 Sep 2012, 18:33
by Jan
Hi, then you need to customize the php code directly (but really not sure how to explain it better than written in forum or documentation

)
Jan
Re: How to hide the number of images in a category?
Posted: 13 Jan 2013, 00:48
by marius
Hiding in phoca 3.2.3
Go to /components/com_phocagallery/views/categories/tmpl
download file
default_catimg.php
comment code as below (around line 33)
Code: Select all
if ($this->categories[$i]->numlinks > 0) {
//echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
}
Re: How to hide the number of images in a category?
Posted: 26 Jan 2015, 13:30
by actlas
How can I make the number if images in a category appear next to a subcategory in category view please?
Re: How to hide the number of images in a category?
Posted: 29 Jan 2015, 18:16
by Jan
Hi, not sure if I understand correctly what you mean with "make the number if images in a category appear next ..."?
Jan
Re: How to hide the number of images in a category?
Posted: 10 Apr 2017, 08:56
by kaihying
go to : component => com_phocagallery => views => categories => tmpl => default_categories.php
and edit :
find :
if ($cv->numlinks > 0)
change to :
if ($cv->numlinks = 0)