Gossamer Forum
Home : Products : Links 2.0 : Customization :

priority 1-10 image question?

Quote Reply
priority 1-10 image question?
Using the priority sort 1-10 mod I was wanting to display a small gif that says topsite next to the link just like the new and popular gifs. I have the priority mod working fine. My question is, to display the small gif next to the link couldn't you just edit the link.html template file like you do with the new and popular:

Code:
<%if isPriority%>
&nbsp; <img src="http://www.blah.com/images/bullet3.gif" border=0 align="absmiddle">
<%endif%>

Sorry for being such a greenie Frown
Quote Reply
Re: [dvd871] priority 1-10 image question? In reply to
You need to add the following codes to sub site_html_link in site_html_templates.pl:

Code:
($rec{'isPriority'} eq 'Yes') ? ($rec{'isPriority'} = 1) : (delete $rec{'isPriority'});
Quote Reply
Re: [Tho:mas] priority 1-10 image question? In reply to
Thanks! I should know better than to work on script mods late at night.