Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

put icons in link.html

Quote Reply
put icons in link.html
Hello;

I have been three days trying to put a icon in the code html of link.html but when i edit the file the "<%Description%>" donīt appear.
anyone knows why?
This is the code i have in link.html:

<ul>
<img src="http://www.teleline.es/games34/boton.gif" width="13" height="13"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%if Description%> <span class="descript">- <%Description%></span> <%endif%>
<%if isNew%> <small><sup class="new">new</sup></small> <%endif%> <%if isPopular%>
<small><sup class="pop">cool</sup></small> <%endif%> <small class="date">(Added:
<%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%>) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Vote</a>

<img src="http://www.teleline.com/games34/anuo.gif" width="13" height="12"><a href="<%db_cgi_url%>/linkdead.cgi?ID=<%ID%>&URL=<%URL%>&Title=<%Title%>&Category=<%Category%>">
dead link</a> <img src="http://www.teleline.com/games34/email_to_friend.gif" width="22" height="12"><a href="tellafriend.shtml">Tell friend</a></small>
</ul>


-------------Thanks--------------

Quote Reply
Re: put icons in link.html In reply to
You must edit your code with a text editor and leave certain tags in a single line the tags are <%if%> <%else%>

<ul>
<img src="http://www.teleline.es/games34/boton.gif" width="13" height="13"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%if Description%>
<span class="descript">- <%Description%></span>
<%endif%>
<%if isNew%>
<small><sup class="new">new</sup></small>
<%endif%>
<%if isPopular%>
<small><sup class="pop">cool</sup></small>
<%endif%>
<small class="date">(Added:
<%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%>) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Vote</a>

<img src="http://www.teleline.com/games34/anuo.gif" width="13" height="12"><a href="<%db_cgi_url%>/linkdead.cgi?ID=<%ID%>&URL=<%URL%>&Title=<%Title%>&Category=<%Category%>">
dead link</a> <img src="http://www.teleline.com/games34/email_to_friend.gif" width="22" height="12"><a href="tellafriend.shtml">Tell friend</a></small>
</ul>

I think that should work, thats what i have on my site and it works great.



Quote Reply
Re: put icons in link.html In reply to
I have tried it and it works! That was the problem.

Thanks very much.

Quote Reply
Re: put icons in link.html In reply to
nothing to thank.

Carlos Alcocer
http://www.arquired.net/buscador/