Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: gallery options  (Read 6607 times)

0 Members and 1 Guest are viewing this topic.

tommytomato

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://gallery.rockinghamgateway.com/
gallery options
« 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/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
gallery options
« Reply #1 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
Logged

tommytomato

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://gallery.rockinghamgateway.com/
gallery options
« Reply #2 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)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
gallery options
« Reply #3 on: October 19, 2003, 09:24:10 pm »

link?
Logged

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: gallery options
« Reply #4 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?
Logged

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: gallery options
« Reply #5 on: July 17, 2005, 09:15:28 pm »

i found it! problem is over...
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: gallery options
« Reply #6 on: July 17, 2005, 09:17:48 pm »

@michiel: please post what your error was and how you fixed it.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: gallery options
« Reply #7 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.