Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [Andy] What's the difference between <%links%> and <%links_loop%>: Edit Log

Here is the list of edits for this post
Re: [Andy] What's the difference between <%links%> and <%links_loop%>
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

Edit Log: