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: can i disable the 'display/hide file information' function?  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

robino

  • Coppermine newbie
  • Offline Offline
  • Posts: 19

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. 
« Last Edit: June 07, 2005, 08:33:14 am by GauGau »
Logged

Nibbler

  • Guest
Re: can i disable the 'display/hide file information' function?
« Reply #1 on: June 06, 2005, 08:54:12 pm »

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

Code: [Select]
// 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.
Logged

robino

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: can i disable the 'display/hide file information' function?
« Reply #2 on: June 07, 2005, 05:53:04 am »

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

Code: [Select]
  <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

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

thanks again nibbler ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.