Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Using field names in link.html template

Quote Reply
Using field names in link.html template
I would like to have URL included in my link description. Links help says this : "You can use <%Field Name%> where Field Name is any field in your links database like: Title, URL". I tried to include the URL with <%URL%> variable. However this didn't work. What went wrong ?
Quote Reply
Re: Using field names in link.html template In reply to
you'd have to post the html from your link.html file so we can see what's up.

------------------
Marie Altobelli
Dragonsblood Ink. Librarian
http://dbink.hostingcheck.com
Quote Reply
Re: Using field names in link.html template In reply to
Here is the code. There are some Finnish words included but that shouldn't bother you.

five40



<ul><li><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%if Description%>
<span class="descript">- <%Description%></span>
<%endif%>
</li></ul>
<dl class="link">
<dd>
<%if isNew%>
<small><sup class="new">Uusi!</sup></small>
<%endif%>

<%if isPopular%>
<small><sup class="pop">Suosittu!</sup></small>
<%endif%>
<small class="date"><%Url%></small><br>
<small class="date">(Lisätty: <%Date%> Osumia: <%Hits%> Arvostelu: <%Rating%> Ääniä: <%Votes%> ) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Arvostele</a></small>
</dd></dl>
Quote Reply
Re: Using field names in link.html template In reply to
the script is case sensitive. Replace "<%Url%>" with "<%URL%>", that should fix it.

------------------
Marie Altobelli
Dragonsblood Ink. Librarian
http://dbink.hostingcheck.com
Quote Reply
Re: Using field names in link.html template In reply to
Thank you!! That helped.

five40