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

Extra 'else', but is there?

Quote Reply
Extra 'else', but is there?
Hi. I'm trying to get this 3 column link stuff done. I have the following code;

Code:
<!-- Links in this category. -->
<%if links%>

<!--BEGIN 3-COL LINK LOOP-->
<%loop links_loop%>

<%if TypeOfDetailed eq "Galleries"%>

<%if first%> <%-- set up the opening table --%>
<TABLE>
<TR>
<%endif%>

<TD>
<%include link.html%>
</TD>
<%ifnot row_num % 3%> <%-- close the row --%>
</TR>
<%endif%>

<%if last%> <%-- close the table --%>
<%if row_num % 3 eq 1%> <%-- balance the trailing rows --%>
<TD></TD><TD></TD>
<%endif%>
<%if row_num % 3 eq 2 %> <%-- balance the trailing rows --%>
<TD></TD>
<%endif%>
</tr>
</TABLE>
<%endif%>

<%else%>
<%include link.html%>
<%endif%>


<%endloop%>

<%endif%>

If I remove the bits in red, it gets rid of the 'extra else statement' error.

Can anyone see what I'm missing? Unsure

TIA.

Andy
Subject Author Views Date
Thread Extra 'else', but is there? Andy 3534 Aug 15, 2003, 7:52 AM
Thread Re: [Andy] Extra 'else', but is there?
webslicer 3423 Aug 15, 2003, 9:35 PM
Thread Re: [webslicer] Extra 'else', but is there?
Andy 3404 Aug 16, 2003, 1:44 AM
Thread Re: [Andy] Extra 'else', but is there?
webslicer 3391 Aug 16, 2003, 1:25 PM
Post Re: [webslicer] Extra 'else', but is there?
Andy 3369 Aug 18, 2003, 12:44 AM
Post Re: [Andy] Extra 'else', but is there?
pugdog 3378 Aug 16, 2003, 1:33 PM
Thread Re: [Andy] Extra 'else', but is there?
Alex 3442 Aug 16, 2003, 3:36 PM
Post Re: [Alex] Extra 'else', but is there?
pugdog 3367 Aug 16, 2003, 9:45 PM