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: Hidding additional details?  (Read 9726 times)

0 Members and 1 Guest are viewing this topic.

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Hidding additional details?
« on: March 06, 2005, 09:23:07 pm »

I've noticed that at the top of every photo in my gallery there is a box:

Quote
You are currently viewing FILE 1/40. You can review additional details about this photo, enjoy a slideshow of all photos in this album, send an eCard to someone based on this photo, or you can leave comments about this photo.

The additional details are already on display automatically, so when you click on the "additional details" on that top comment box it hides them, and then shows them again when clicked.

I want them to be hidden until you click that link rather than them being shown already - I don't think the people who look at my site actually look at them, so I'd rather they were hidden by default until someone clicks that link.

How do I do this?

Nibbler

  • Guest
Re: Hidding additional details?
« Reply #1 on: March 06, 2005, 09:26:23 pm »

Maybe the config option ' File information is visible by default' is what you need.
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #2 on: March 07, 2005, 10:29:40 pm »

I've ticked that no!

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Hidding additional details?
« Reply #3 on: March 07, 2005, 10:46:49 pm »

It's an issue with your theme. If you view the gallery in Classic, the file info does not display.
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #4 on: March 08, 2005, 02:15:11 pm »

Any idea how I can sort it out in the theme?  I'm using Kubrick.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hidding additional details?
« Reply #5 on: March 08, 2005, 02:47:20 pm »

the kubrick theme that comes as a download for coppermine does not display the anomaly you're experiencing as far as I can see, so it must be something you did with the theme (see the demo page with kubrick theme). To find out abot the differences between your version of the kubrick theme and the "official" one, get a fresh copy of it and use a diff viewer (Winmerge recommended).

Joachim
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #6 on: March 09, 2005, 06:33:43 pm »

Erm... it does:

http://coppermine.sourceforge.net/demo/displayimage.php?album=5&pos=2

Look... it shows the details underneath the picture.  Thats what I want rid of.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Hidding additional details?
« Reply #7 on: March 09, 2005, 06:36:31 pm »

If you click on details in the line in the paragraph:
"You can review additional details..."

File info will go away.
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #8 on: March 10, 2005, 10:59:04 am »

^ I know that... but I want it to be hidden by default.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Hidding additional details?
« Reply #9 on: March 10, 2005, 11:24:38 am »

That's in config.
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #10 on: March 11, 2005, 06:01:57 pm »

I've already changed it in config and it doesn't seem to have any difference.  Can I change the setting manually in a php file or whatever?

Nibbler

  • Guest
Re: Hidding additional details?
« Reply #11 on: March 11, 2005, 06:19:17 pm »

[removed]

kubrick seems to have some code misplaced, move

Code: [Select]
    $picinfo = isset($HTTP_COOKIE_VARS['picinfo']) ? $HTTP_COOKIE_VARS['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
to just before

Code: [Select]
echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
in theme.php
« Last Edit: March 11, 2005, 06:29:50 pm by Nibbler »
Logged

MothBox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 31
  • www.mothbox.co.uk
    • MothBox
Re: Hidding additional details?
« Reply #12 on: March 11, 2005, 06:25:12 pm »

Yep, changing the coding worked.  Thanks.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hidding additional details?
« Reply #13 on: March 14, 2005, 09:08:15 am »

Applied fix to theme that is available in download section, see http://forum.coppermine-gallery.net/index.php?topic=13514.msg73772#msg73772

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.