Page 1 of 3
Number of Images
Posted: 12 Jun 2008, 14:14
by w_ds
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)
Re: Number of Images
Posted: 12 Jun 2008, 14:35
by Jan
Hi,
components\com_phocagallery\views\categories\tmpl\default.php
this should be removed:
Code: Select all
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
Re: Number of Images
Posted: 30 Jul 2008, 11:19
by ifritz
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.
Re: Number of Images
Posted: 31 Jul 2008, 12:10
by Jan
??? if you remove the code, it should be not displayed, try to clear cache on your browser...
Re: Number of Images
Posted: 11 Jun 2009, 06:56
by jbx
Jan, I tried this and it didn't work. any other ideas?
the gallery is at
http://www.northolmstedperformance.com/ ... Itemid=203
Thanks
Re: Number of Images
Posted: 12 Jun 2009, 06:45
by jbx
Re: Number of Images
Posted: 18 Jun 2009, 20:55
by Jan
Hi, on your site the code is not removed, try the code in:
components\com_phocagallery\views\categories\tmpl\default.php
Code: Select all
echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';
Be aware there are different methods of displaying categories, so you need to remove at all places
Jan
Re: Number of Images
Posted: 05 Jul 2009, 01:22
by jbx
Thanks again for the help
Re: Number of Images
Posted: 06 Jul 2009, 20:01
by Jan
Ok
Re: Number of Images
Posted: 08 Nov 2009, 11:46
by jbx
is there a way to make this a feature that can be turned on/off in the next upgrade?