can i disable the 'display/hide file information' function? can i disable the 'display/hide file information' function?
 

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

can i disable the 'display/hide file information' function?

Started by robino, June 06, 2005, 03:56:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

robino

hello,

using:

cpg 1.3 (bridged to smf wrapped in mambo)

'ipodlounge' theme , see demo here - http://coppermine.sourceforge.net/demo/index.php?theme=ipodlounge

question:

when viewing the photo, there are several further options in the bar at the top - Return to Thumbnail Page, View Slideshow, Send Ecard etc. 

I would like to disable the 'display/hide file information' function.  can this be done?  i have done it with the ecard function. 

Any respose greatly appreciated. 

Nibbler

You can edit the button out of the theme. Look for

// HTML template for the image navigation bar
$template_img_navbar = <<<EOT


in your theme's theme.php and remove the table cell with the icon. Note that the info is still in the HTML source, just not displayed.

robino

thanks very much for that :)

i removed the table cell, but found that that, of course, threw all the aligment out, so what i ended up doing was removing the href stuff and leaving the image call ie the image and cell is still there but it doesnt link to anything. 

So, just in case this can help others, this is exactly what i did:

in theme.php i found

  <td align="center" valign="middle" class="navmenu" width="60">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>


and in the end it looked like this

<td align="center" valign="middle" class="navmenu" width="60">
                        <img src="images/info.gif" border="0" align="absmiddle">
                </td>


thanks again nibbler ;)