forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: tommytomato on October 19, 2003, 05:49:44 am

Title: gallery options
Post by: tommytomato on October 19, 2003, 05:49:44 am
Can any one help me out please.

My gallery is looking nice, thanks guys for a great gallery.
I have one question.

How do i remove the number of albums box on the main index page
it display then number of albums you have on how many pages
just below all the cats.

I can seem to find were it is under the admin pages
anyone help me out please.

cheer tommytomato
http://www.rockinghamgateway.com/
Title: gallery options
Post by: Joachim Müller on October 19, 2003, 12:09:28 pm
to remove the statistics at all, edit index.php and find
Code: [Select]
       $statistics = strtr($lang_list_categories['stat2'], array('[pictures]' => $picture_count,
                '[albums]' => $album_count,
                '[views]' => $hit_count));
and replace it with
Code: [Select]
$statistics = '';(haven't tested, but should work)

GauGau
Title: gallery options
Post by: tommytomato on October 19, 2003, 03:23:49 pm
Hi again

I tried what you said, it didn't do a thing from what i notice


tommytomato  8)
Title: gallery options
Post by: Joachim Müller on October 19, 2003, 09:24:10 pm
link?
Title: Re: gallery options
Post by: michiel on July 17, 2005, 08:29:06 pm
I have tried gaugau's sollution, but it does not seem to work with me either. Look at http://www.dwaalgasten.nl/Foto/cpg1.3.3/cpg133/index.php and click on "Kreta". Other sollutions?
Title: Re: gallery options
Post by: michiel on July 17, 2005, 09:15:28 pm
i found it! problem is over...
Title: Re: gallery options
Post by: kegobeer on July 17, 2005, 09:17:48 pm
@michiel: please post what your error was and how you fixed it.
Title: Re: gallery options
Post by: michiel on July 18, 2005, 06:58:20 pm
My wish was not to have any statistics (".. images on .. pages, etc) in my album. Gaugau's solution worked for the main page, but not for the separate album pages. The solution I finally found was in the language file,  the string "$lang_thumb_view = array". There I changed the code for 'pic_on_page' to  ''.
What i am still looking for is a way to hide the box with the sorting options as well. I changed some codes in the same string, but the result is only that the text labels are gone, but the "+" and "-" (and the blue background colour) are stil there. See: http://www.dwaalgasten.nl/Foto/cpg1.3.3/cpg133/thumbnails.php?album=1. Any suggestions? Thanks!