Hi,
I try to use this loop in my own template:
<%set indent = ' '%>
<%loop everything%>
<%unless forum_id%><%-- A category --%>
<option value="<%cat_name%>"><%indent x $cat_depth%><%cat_name%> (les sections de cette catégorie)</option>
<%else%>
<option value="<%forum_name%>">
<%indent x $cat_depth%> <%forum_name%></option>
<%endunless%>
<%endloop%>
The loop doesn't print anything. Should I put a global in the template to make it works? If so, which one?
Thank you!
François
I try to use this loop in my own template:
<%set indent = ' '%>
<%loop everything%>
<%unless forum_id%><%-- A category --%>
<option value="<%cat_name%>"><%indent x $cat_depth%><%cat_name%> (les sections de cette catégorie)</option>
<%else%>
<option value="<%forum_name%>">
<%indent x $cat_depth%> <%forum_name%></option>
<%endunless%>
<%endloop%>
The loop doesn't print anything. Should I put a global in the template to make it works? If so, which one?
Thank you!
François