Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Category name on a page

Quote Reply
Category name on a page
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:

<%ifnot main_page%><% loop everything%><%ifnot forum_id%>

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.