forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: freesouljah on January 31, 2006, 05:18:03 am

Title: picinfo: Display/Hide File Information Error
Post by: freesouljah 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
Title: Re: picinfo: Display/Hide File Information Error
Post by: Tranz 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.
Title: Re: picinfo: Display/Hide File Information Error
Post by: freesouljah 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 ;)
Title: Re: picinfo: Display/Hide File Information Error
Post by: freesouljah 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)