Jan
How to hide the number of images in a category?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to hide the number of images in a category?
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
Jan
If you find Phoca extensions useful, please support the project
-
marius
- Phoca Newbie

- Posts: 1
- Joined: 13 Jan 2013, 00:43
Re: How to hide the number of images in a category?
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)
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>';
}-
actlas
- Phoca Member

- Posts: 10
- Joined: 10 Dec 2014, 10:57
Re: How to hide the number of images in a category?
How can I make the number if images in a category appear next to a subcategory in category view please?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to hide the number of images in a category?
Hi, not sure if I understand correctly what you mean with "make the number if images in a category appear next ..."?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
kaihying
- Phoca Newbie

- Posts: 1
- Joined: 10 Apr 2017, 08:49
Re: How to hide the number of images in a category?
go to : component => com_phocagallery => views => categories => tmpl => default_categories.php
and edit :
find :
if ($cv->numlinks > 0)
change to :
if ($cv->numlinks = 0)
and edit :
find :
if ($cv->numlinks > 0)
change to :
if ($cv->numlinks = 0)