Hidding additional details? Hidding additional details?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Hidding additional details?

Started by MothBox, March 06, 2005, 09:23:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MothBox

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

QuoteYou 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

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


Tranz

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


Joachim Müller

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


Tranz

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

File info will go away.


Tranz


MothBox

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

#11
[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


Joachim Müller