Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

group links without using globals

Quote Reply
group links without using globals
Hello,

I have a customer field in links table called LinkType. Is it possible to group links by Linktype and display different types in groups (such as in different sections of a category page) without using globals?

Thanks.
Quote Reply
Re: [long327] group links without using globals In reply to
Try this

<%if LinkType eq option1%>
<h3>Option 1 Links:<h3/>
<%include link.html%>
<%else%><%endif%>


<%if LinkType eq option2%>
<h3>Option 2 Links:<h3/>
<%include link.html%>
<%else%><%endif%>
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory