I would like to add a horizontal line to separate the sub-categories, from the links that are in a category. I am using templates, and tried adding one in category.html in the appropriate place which worked, except I run into a problem when there is related categories. I only want to include it when there are categories or related categories, not when there are just links.
I presume I need an if statement, but not being familiar with perl or cgi, I don't know the actual code I should use. What I think I am looking for is something like
<%if category%>
<%if related%>
<hr noshade color="#008000">
<%endif%>
<%endif%>
Would this work? Any help would be appreciated.
[This message has been edited by lunaria (edited February 17, 1999).]
I presume I need an if statement, but not being familiar with perl or cgi, I don't know the actual code I should use. What I think I am looking for is something like
<%if category%>
<%if related%>
<hr noshade color="#008000">
<%endif%>
<%endif%>
Would this work? Any help would be appreciated.
[This message has been edited by lunaria (edited February 17, 1999).]