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: [Solved]: Removing link to ecards and i?  (Read 2861 times)

0 Members and 1 Guest are viewing this topic.

HDLLC

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 15
    • Hughes Design LLC
[Solved]: Removing link to ecards and i?
« on: August 16, 2004, 12:30:30 am »

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
« Last Edit: August 17, 2004, 08:54:42 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Removing link to ecards and i?
« Reply #1 on: August 16, 2004, 08:36:06 am »

edit themes/hardwired/theme.php, find
Code: [Select]
                <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
Code: [Select]
                <!--<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
Code: [Select]
                <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
Code: [Select]
                <!--<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
Logged

HDLLC

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 15
    • Hughes Design LLC
Re: Removing link to ecards and i?
« Reply #2 on: August 16, 2004, 02:01:41 pm »

Thanks!  This appears to be working nicely!

--Jeff
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.