Gossamer Forum
Home : Products : Links 2.0 : Customization :

Email as URL

Quote Reply
Email as URL
Eliot,

I need to use what people put in the form as the "Contact Email" AS the URL. I've searched the archives and seen where you've given this code.....

My suggestion is that you do not use the URL field for the email address, simply use the Contact Email field as the email link, like the following:

code:

<%if URL%>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%endif%>

AND

code:

<%ifnot URL%>
<a href="mailto:<%Contact Email%>"><%Contact Name%></a>
<%endif%>

It makes perfect sense for what I need it for, but where, and to which file do I add the code??

links.def?
nph-build.cgi?
templates/add.html?

Thanks!
Subject Author Views Date
Thread Email as URL DJ 745 Apr 25, 2000, 5:33 PM
Post Re: Email as URL
Stealth 732 Apr 25, 2000, 5:37 PM