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!
How to remove number of images after the name of the cat.
-
franto
- Phoca Newbie

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

- Posts: 3
- Joined: 12 Oct 2012, 10:29
Re: How to remove number of images after the name of the cat
Of course I try this code, but the numbers continue to stay there: (
- Jan
- 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
So this seems like the CSS is still not correct
- 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 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

- Posts: 3
- Joined: 12 Oct 2012, 10:29
Re: How to remove number of images after the name of the cat
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!
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!
- Jan
- 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
Ok
If you find Phoca extensions useful, please support the project