forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: HDLLC 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
-
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
-
Thanks! This appears to be working nicely!
--Jeff