forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: MothBox 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:
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?
-
Maybe the config option ' File information is visible by default' is what you need.
-
I've ticked that no!
-
It's an issue with your theme. If you view the gallery in Classic, the file info does not display.
-
Any idea how I can sort it out in the theme? I'm using Kubrick.
-
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 (http://coppermine.sourceforge.net/demo/?theme=kubrick)). 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 (http://winmerge.sourceforge.net/) recommended).
Joachim
-
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.
-
If you click on details in the line in the paragraph:
"You can review additional details..."
File info will go away.
-
^ I know that... but I want it to be hidden by default.
-
That's in config.
-
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?
-
[removed]
kubrick seems to have some code misplaced, move
$picinfo = isset($HTTP_COOKIE_VARS['picinfo']) ? $HTTP_COOKIE_VARS['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
to just before
echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
in theme.php
-
Yep, changing the coding worked. Thanks.
-
Applied fix to theme that is available in download section, see http://forum.coppermine-gallery.net/index.php?topic=13514.msg73772#msg73772
Joachim