Number of Images

Phoca Gallery - image gallery extension
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

JAN

I looked for more areas to remove the numbers, I am for a lost

If you can please help me I am almost completely done and out of your hair

I am very satisfied with the Phoca Gallery, but I want to see if I can tailor it a bit more to my website

What I would like to do is remove all the numbers . What you provided earlier worked for the first part, but I can't seem to find the rest, can you point me in the right direction?

with the rest of the gallery

here is it removed

http://www.northolmstedperformance.com/ ... Itemid=208

but when I select mercedes for an example the number is there

http://www.northolmstedperformance.com/ ... Itemid=208
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Images

Post by Jan »

Hi, you have changed it for Categories view but you need to change it for Categories View in Category View too, see:
components\com_phocagallery\views\category\tmpl\default_categories.php

search for small:

remove:

Code: Select all

<span class="small">('.$this->itemscv[$i]->numlinks.')</span>
BTW: After Phoca Gallery will be 2.6.0 STABLE and after you will upgrade to 2.6.0 stable, you should see this:
https://www.phoca.cz/documents/2-phoca-g ... ound-image
and fix the shadows on your site.

Jan
If you find Phoca extensions useful, please support the project
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

Thanks again!
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

Jan can you point me in the right direction for removing the numbers in the new upgraded Phoca gallery. It is not the same as previous version

thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Images

Post by Jan »

Hi, there were no modifications in this area.

Jan
If you find Phoca extensions useful, please support the project
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

thanks for the response, I see it now... was worried with all the other references to the numlinks

have a good one
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

Jan,

How you been? I was wondering if this is still valid with the new versions of the Phoca gallery? Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Images

Post by Jan »

Hi, now depends which file is set in parameters, so e.g. if displaying categories with images is selected then in this file:

components\com_phocagallery\views\categories\tmpl\default_catimg.php
this should be found and commented
'<span class="small">('.$this->categories[$i]->numlinks.')</span>'

it is on line cca 32 in version 3.1.0

Jan
If you find Phoca extensions useful, please support the project
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Number of Images

Post by jbx »

Thank you.

It is the 2.8 version
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Images

Post by Jan »

components\com_phocagallery\views\categories\tmpl\default.php

still the same string: '<span class="small">('.$this->categories[$i]->numlinks.')</span>'

on different lines as there are if clauses to display different views.

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