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

Phoca Gallery - image gallery extension
franto
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2012, 10:29

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

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

If you find Phoca extensions useful, please support the project
franto
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2012, 10:29

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

Post by franto »

Of course I try this code, but the numbers continue to stay there: (
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
franto
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2012, 10:29

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

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply