Hi All!
I'm new to Phoca Gallery and would like to use it for Joomla websites I'm designing.
One new customer asked me, if I can switch off the number of images each category contains on the category-list. Is that possible? I found no parameter to change that. If necessary I would also customize the PHP-files but I don't know where this number is put into the page.
Thx in advance.
Regards,
Stefan (Austria)
Number of Images
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Images
Hi,
components\com_phocagallery\views\categories\tmpl\default.php
this should be removed:
components\com_phocagallery\views\categories\tmpl\default.php
this should be removed:
Code: Select all
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 29 May 2008, 23:58
Re: Number of Images
Is this the image count, which is displayed besides every categorie?
i.e "Gallery XYZ 07 2008 (200)"
I want to hide this as well, but your hint is not working for me.
The gallery is still displaying the image count.
i.e "Gallery XYZ 07 2008 (200)"
I want to hide this as well, but your hint is not working for me.
The gallery is still displaying the image count.
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Images
??? if you remove the code, it should be not displayed, try to clear cache on your browser...
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 66
- Joined: 19 Apr 2009, 19:18
Re: Number of Images
Jan, I tried this and it didn't work. any other ideas?
the gallery is at
http://www.northolmstedperformance.com/ ... Itemid=203
Thanks
the gallery is at
http://www.northolmstedperformance.com/ ... Itemid=203
Thanks
-
- Phoca Enthusiast
- Posts: 66
- Joined: 19 Apr 2009, 19:18
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Images
Hi, on your site the code is not removed, try the code in:
components\com_phocagallery\views\categories\tmpl\default.php
Be aware there are different methods of displaying categories, so you need to remove at all places
Jan
components\com_phocagallery\views\categories\tmpl\default.php
Code: Select all
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 66
- Joined: 19 Apr 2009, 19:18
Re: Number of Images
Thanks again for the help
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Enthusiast
- Posts: 66
- Joined: 19 Apr 2009, 19:18
Re: Number of Images
is there a way to make this a feature that can be turned on/off in the next upgrade?