coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: tag_webdev on August 04, 2008, 07:22:03 PM

Title: Custom 'Send to E-Card' link not working after upgrade
Post by: tag_webdev on August 04, 2008, 07:22:03 PM
Hello,

I recently upgraded my gallery to 1.4.18, but I have had to disable a custom
link that I added before the upgrade, as it gives an error now.

The link was a 'Send e-card to a friend' button that would appear underneath
the "normal-size" images.

I now use the theme.php file that has all CORE items removed.

Below is the code I had originally:

<!-- BEGIN ecard_button -->
    <td align="center" valign="middle" class="navmenu" width="48">
        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" />Send e-card to a friend</a>
     </td>
<!-- END ecard_button -->


If anyone can shed light on this, I'd be very appreciative. Thanks.
Title: Re: Custom 'Send to E-Card' link not working after upgrade
Post by: Nibbler on August 04, 2008, 08:09:47 PM
What is the error?
Title: Re: Custom 'Send to E-Card' link not working after upgrade
Post by: tag_webdev on August 04, 2008, 09:17:03 PM
Thanks for the quick response.

Regarding the error, it says that it can't find the link, but that's
because it literally adds the "{ECARD_TGT}" string to the link.