ecard_stamp.gif URL properties ecard_stamp.gif URL properties
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

ecard_stamp.gif URL properties

Started by brentmags, January 28, 2010, 05:08:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brentmags

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

Jeff Bailey

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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

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

Jeff Bailey

Thank you for Posting a link without being asked, a lot don't.
Don't forget this one though. Common policies: Resolve your threads 8)
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

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">
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

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!