Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Andy] What's the difference between <%links%> and <%links_loop%>

Quote Reply
Re: [Andy] What's the difference between <%links%> and <%links_loop%> In reply to
Thanks to all of you for taking the time to explain!

Is there not anything documenting this feature? I didn't even know it existed, and, WOW, the possibilities seem almost endless. I have found the example for splitting up sponsored and non-sponsored links, but I'd like to see other examples. I have perused the forum listings and have found a few, but it would be nice to have this functionality explained in the docs somewhere since the person who created it knows the most about what it can do. (Alex, please???) If I am just missing it, please point me in the right direction.

I posted a message a few weeks ago about wanting to split up my category listings, and I was SO close! (http://www.gossamer-threads.com/...i?post=199742#199742) All I needed was to use <%links_loop%> instead of just <%links%>. I am surprised no one pointed that out because the solution was so obvious, and SO SIMPLE!

OKAY, now I have another question. Let say I want to display all the links that have a field=something AND another field=something else. I have tried using

<%loop links_loop%>
<%if field eq 'something'%>
<%if anotherfield eq 'somethingelse'%>
<%include link.html%>
<%endif%>
<%endif%>
<%endloop%>

but it doesn't work (no results). What can I do?

Last edited by:

AtoZ: Jun 29, 2002, 2:08 PM
Subject Author Views Date
Thread What's the difference between <%links%> and <%links_loop%> AtoZ 3019 Jun 28, 2002, 12:15 PM
Thread Re: [AtoZ] What's the difference between <%links%> and <%links_loop%>
Andy 2955 Jun 29, 2002, 1:18 AM
Thread Re: [Andy] What's the difference between <%links%> and <%links_loop%>
AtoZ 2930 Jun 29, 2002, 2:06 PM
Thread Re: [AtoZ] What's the difference between <%links%> and <%links_loop%>
Payooo 2970 Jun 29, 2002, 2:21 PM
Post Re: [Payooo] What's the difference between <%links%> and <%links_loop%>
AtoZ 2951 Jun 29, 2002, 2:24 PM
Thread Re: [AtoZ] What's the difference between <%links%> and <%links_loop%>
Alex 2912 Jun 30, 2002, 11:04 PM
Post Re: [Alex] What's the difference between <%links%> and <%links_loop%>
AtoZ 2900 Jul 1, 2002, 12:43 PM
Post Re: [AtoZ] What's the difference between <%links%> and <%links_loop%>
Paul 2925 Jun 29, 2002, 1:41 AM
Post Re: [AtoZ] What's the difference between <%links%> and <%links_loop%>
pugdog 2953 Jun 29, 2002, 4:16 AM