[Solved]: Removing link to ecards and i? [Solved]: Removing link to ecards and i?
 

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]

Main Menu

[Solved]: Removing link to ecards and i?

Started by HDLLC, August 16, 2004, 12:30:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HDLLC

Want to remove the ecard link on the image pages...  

Right now, I have permissions turned off, but the graphic is still there and gives the message of "you don't have permission to...".  Can I just remove the graphic altogether?

And - what about removing the icon with the "i" on it...?  I think I have that turned off somewhere or...?  It shows at the top of the photo with the ecard option, only on the lefthand side (using hardwired theme"...

Thanks in advance!

--Jeff

Joachim Müller

edit themes/hardwired/theme.php, find                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/hardwired/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
and replace it with                <!--<td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/hardwired/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>-->

Find                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/hardwired/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
and replace with                <!--<td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/hardwired/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>-->
to get rid of the pic info button. You can't turn it off, you can just enable/disable in coppermine config if the pic info section is to be visible on page load or not. I wouldn't remove it if I were you though, it contains important data for some, e.g. if you need the absolute url for posting a link.

GauGau

HDLLC

Thanks!  This appears to be working nicely!

--Jeff