coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Velting.net on April 25, 2006, 03:48:22 AM

Title: ecard image link - need to change
Post by: Velting.net on April 25, 2006, 03:48:22 AM
I would like to change the image link to direct the recipient of an ecard back to my homepage, not the image in the gallary..

I have searched everywhere and cant seem to find the location.

Thank you very much.
Title: Re: image link in ecard email
Post by: Velting.net on April 25, 2006, 08:16:22 AM
Perhaps i should clarify..

I am using iframes in my site ( http://www.velting.net ) and if i change the URL of my homepage in CONFIG, when a visitor clicks on "home" in the copermine menu, the whole page index page for my website then loads in the iframe, creating a homepage within a home page. Thus i need to have the "home" link in my coppermine menu refer to the copermine gallery home. Hope that made sense..

The whole problem I'm running into is that when someone clicks the image in an email (from an ecard) its taking them to the coppermine gallery, not my page containing the gallery.

I would be very grateful if someone could shed some light on this.. Thanks again.

Ryan
Title: Re: ecard image link - need to change
Post by: Nibbler on April 25, 2006, 11:12:12 PM
You can edit the ecard template, it is part of the theme. Copy it from themes/sample/theme.php into your theme.php and hardcode the link.
Title: Re: ecard image link - need to change
Post by: Velting.net on April 25, 2006, 11:50:15 PM
thank you for the response Nibbler, I appreciate it.. You will have to forgive me, I'm just not sure what to change in it...
Title: Re: ecard image link - need to change
Post by: Nibbler on April 25, 2006, 11:56:14 PM
Change this bit to point wherever you like

<a href="{VIEW_MORE_TGT}/displayimage.php?pos=-{PID}">