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: picinfo: Display/Hide File Information Error  (Read 2558 times)

0 Members and 1 Guest are viewing this topic.

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
picinfo: Display/Hide File Information Error
« on: January 31, 2006, 05:18:03 am »

For some reason when the picinfo button in the navbar is clicked nothing happens...

for now I have the info displayed by default, because otherwise there would be no other way to see it:

http://www.staticfiends.com/photos/displayimage-112-8.html



here is the code from my eyeball theme.php:

Code: [Select]
    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";

and theme.inc.php :
Code: [Select]
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
                </td>

thanks
 ;D
« Last Edit: January 31, 2006, 08:03:09 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: picinfo: Display/Hide File Information Error
« Reply #1 on: January 31, 2006, 06:21:09 am »

Your theme looks customized. Does it work with the default theme?

next time, try to use a more "work safe" example.
Logged

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: picinfo: Display/Hide File Information Error
« Reply #2 on: January 31, 2006, 07:06:01 am »

yeah...it works with the classic theme:

http://www.staticfiends.com/photos/displayimage-80-29.html

but in my custom theme it give a javascript error: object expected... ???


ps I edited the original post w/ a more 'work safe' example ;)
« Last Edit: January 31, 2006, 07:23:33 am by freesouljah »
Logged

freesouljah

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 116
  • Can you feel the Love?
    • freesouljah.com
Re: picinfo: Display/Hide File Information Error
« Reply #3 on: January 31, 2006, 07:52:50 am »

nevermind...I figured out that the path to the scripts.js file was wrong...thats what was causing the error...

thanks for the help anyway  8)
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.