Page 1 of 1

[SOLVED] Gallery Modul: Image Count

Posted: Tue Jun 22, 2010 8:56 am
by JoFe
I use cms 1.7.1. with the Gallery Modul /Fancybox.

On the start page "X images" is shown. Is there a way to eliminate this?

Thanks

Re: Gallery Modul: Image Count

Posted: Tue Jun 22, 2010 9:18 am
by Jos
simply delete it from the fancybox template  :P

Re: Gallery Modul: Image Count

Posted: Tue Jun 22, 2010 7:58 pm
by JoFe
that's what I have guessed ...  :-\ Which entry in which file should I look for?

Re: Gallery Modul: Image Count

Posted: Tue Jun 22, 2010 8:01 pm
by Jos
Look in the gallery templates tab in the backend and choose to edit the fancybox template.

In the template code field you'll find

Code: Select all

<p>{$imagecount}</p>
delete that row  8)

Re: Gallery Modul: Image Count

Posted: Tue Jun 22, 2010 8:34 pm
by JoFe
BINGO! Thanks a lot .....  :)

Re: [SOLVED] Gallery Modul: Image Count

Posted: Tue Jun 14, 2011 8:44 pm
by shwartzweb
I had similar issue and wanted to remove $imagecount. I have galleries and then there are many galleries and silly "0 images". Instead of removing I spent few minutes reading manual and made in template this code:

Code: Select all

{if ($numimages) == '0'}
<p>{$itemcount} galleries</p>
{elsif}
<p>{$imagecount}</p>{/if}
As result I have nice number of Galleries and once you click on it you get nice number of images. Not sure how this will works if you add images and galleries in one mix. But why would you do this?