coppermine newbie
firstly...thnx for the improving learning curve of what this program allows one to do, i.e. jumping in at the deep end and amidst a lot of reading and trial and error with php, html etc...slowly getting a small feel
http://wrenegadeevents.com/0wren/photo/index.php
ecard works a treat and via a post about //HTML template for e-cards was able to suss out where to URL link the stamp.gif
</td>
<td valign="top" width="300">
<div align="right"><a href="http://lochwood.co.nz/index.html"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
<br />
<b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
<br />
<br />
<font face="arial" color="#000000" size="2">{MESSAGE}</font>
<br />
<br />
<font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
(<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
</td>
so when a user sends an e-card one can now link the stamp to a URL of there liking HOWEVER the slight problem I am finding with the code is that all else beneath: <a href="http://lochwood.co.nz/index.html"> in writing is linked to this URL as well.
being a newbie to php i am a bit unsure as to how i begin breaking this up to prevent text from being linked to the URL
any help would be appreciated
This is just standard html not php ;)
change
Quote from: brentmags on January 28, 2010, 05:08:53 AM
<a href="http://lochwood.co.nz/index.html"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
to
<a href="http://lochwood.co.nz/index.html"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></a></div>
In other words .... add the closing tag for the link after the img. ;)
edit - In the future please use bbcode in your posts. I changed it for you.
thanx Jeff for the quick reply...for i was definitely staring at the wall or considering a ride in the afternoon rain - changes worked a treat
Thank you for Posting a link without being asked, a lot don't.
Don't forget this one though. Common policies: Resolve your threads (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631) 8)
OT: you seem to have an "e" before your DOCTYPE.
e<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
thnx Jeff...checked the code and found the 'e' right up the top, i.e. e<?php - so that is gone. Will just continue to learn more about this program which will help me out considerably!