Page 1 of 1

How to remove number of images after the name of the cat.

Posted: 12 Oct 2012, 11:10
by franto
Sorry for my English but translate via google.
I use Phoca gallery 2.8.1 to joomla 1.5.26. I need to remove the number of images after the names of the categories.
Try any insights I find a solution but it did not help either, or have the newer versions of Phoca gallery.
I found the code in default.php:

if ($ this-> categories [$ i] -> numlinks> 0) {
echo '<span class="small"> ('. $ this-> categories [$ i] -> numlinks. ') </ span>';

But I do not understand what to do with it.
Thank you all for your help!

Re: How to remove number of images after the name of the cat

Posted: 14 Oct 2012, 21:43
by Jan

Re: How to remove number of images after the name of the cat

Posted: 14 Oct 2012, 23:34
by franto
Of course I try this code, but the numbers continue to stay there: (

Re: How to remove number of images after the name of the cat

Posted: 15 Oct 2012, 09:48
by Jan
So this seems like the CSS is still not correct :idea: - the exactly class for the numbers needs to be found

If you want to hide it directly in the code, the not needed code needs to be commented (but of course to edit php file, you need to have some php skills :-( )

Jan

Re: How to remove number of images after the name of the cat

Posted: 15 Oct 2012, 15:16
by franto
But something I was able to set the php file I rewrote the code:
if ($ this-> categories [$ i] -> numlinks> 10) {echo '<span class="small"> ('. $ this-> categories [$ i] -> numlinks. ') </ span> ';}

echo '</ td>';

I rewrote the number 0 to 10, and so my numbers are gone!

Re: How to remove number of images after the name of the cat

Posted: 17 Oct 2012, 11:54
by Jan
Ok