In the title field and at the top of each of our category pages, I'd like to display the category name. The code I'm using is:
<%cat_name%><%endif%><%endloop%>
<%else%>Forums<%endif%>
Works fine, except in one case:
We have one category called Enterprise Networks with a sub-category of Vendors. On the page for that top category, what gets displayed is the Category and that sub-category, i.e, Enterprise Networks Vendors instead of just Enterprise Networks. I've tried some conditional stuff inside the loop based on the ID numbers of the category and sub-category, but it doesn't change the output.
Suggestions?
Thanks!
Code:
<%ifnot main_page%><% loop everything%><%ifnot forum_id%> <%cat_name%><%endif%><%endloop%>
<%else%>Forums<%endif%>
Works fine, except in one case:
We have one category called Enterprise Networks with a sub-category of Vendors. On the page for that top category, what gets displayed is the Category and that sub-category, i.e, Enterprise Networks Vendors instead of just Enterprise Networks. I've tried some conditional stuff inside the loop based on the ID numbers of the category and sub-category, but it doesn't change the output.
Suggestions?
Thanks!