Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Zoran] Simple If question

Quote Reply
Re: [Zoran] Simple If question In reply to
I don't know if this is the best way, but I think you can do it by placing the following loop code at the top of the category.html template page (This would count the number of links):

<%set Link_Counter = 0%>
<%loop links_loop%>
<%set Link_Counter += 1%>
<%endloop%>

Then you can place the search bar at the bottom somewhere with:

<%if Link_Counter > 9%>
<%include include_search_bar.html%>
<%endif%>

--FrankM

Last edited by:

FrankM: Jun 28, 2004, 12:18 PM
Subject Author Views Date
Thread Simple If question Zoran 3135 Jun 27, 2004, 8:20 AM
Post Re: [Zoran] Simple If question
FrankM 3028 Jun 28, 2004, 12:15 PM
Thread Re: [Zoran] Simple If question
Andy 3031 Jun 29, 2004, 2:47 AM
Thread Re: [Andy] Simple If question
Zoran 2995 Jun 29, 2004, 9:04 AM
Thread Re: [Zoran] Simple If question
Andy 2996 Jun 29, 2004, 9:07 AM
Thread Re: [Andy] Simple If question
Zoran 3012 Jun 29, 2004, 9:37 AM
Thread Re: [Zoran] Simple If question
FrankM 2990 Jun 29, 2004, 11:42 AM
Thread Re: [FrankM] Simple If question
Zoran 2996 Jun 29, 2004, 2:06 PM
Thread Re: [Zoran] Simple If question
FrankM 2982 Jun 29, 2004, 2:19 PM
Post Re: [FrankM] Simple If question
Zoran 2961 Jun 30, 2004, 2:08 AM