There is an option in the admin tool for turning off the listing of "sub-categories", but that doesn't seem to apply to when you are looking at the document (it shows all categories it belongs to).
Is there a way to have the option to turn that off?
Josh,
The option to enable or disable the display of sub categories only affects the category lists. There is no option to disable the display of the categories an entry belongs to, however it's a simple change to make to a single jsp file.
Open up the includes/entryheader.jsp file and remove the following section:
<%-- categories --%><ww:iterator value="entry/kbCategories" status="'catStatus'" id="'cats'"> <% if (stack.test("@catStatus/first == true")) { %> <br> <jive:i18n key="global.categories" ></jive:i18n><jive:i18n key="global.colon" ></jive:i18n> <% } %> <% if (stack.test("@catStatus/last == false")) { %> <a href="category.jspa?categoryID=<%= stack.findValue("ID") %>" <% if (stack.test("description")) { %> title="<%= stack.findValue("description") %>" <% } %> ><%= stack.findValue("name") %></a>, <% } else { %> <a href="category.jspa?categoryID=<%= stack.findValue("ID") %>" title="<%= stack.findValue("description") %>" ><%= stack.findValue("name") %></a> <% } %></ww:iterator>
Regards,
Bruce Ritchie
This document was generated from the following thread: Sub-Category List