How to display all subcategory content when viewing the parent categories discussions?
I have a website that has mutiple levels of sub categories, so for example:
Clothes
--Top
----Shirt
----Hat
--Bottom
----Pants
----Socks
A user is only able to post a discussion in the last subcategory there is so only pants,socks, shirt and hat.
How can i have a user click on the Clothes category and show every single item there. But when they click on Bottom only show pants and socks.
Is it possible?
Best Answer
-
hgtonight MVP
Not out of the box with categories.
Vanilla categories are flat in that a discussion doesn't "know" if the category it is in is a child.
Here is a thread discussing an implementation: https://vanillaforums.org/discussion/25812/category-viewing-thought
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
5
Answers
Not out of the box with categories.
Vanilla categories are flat in that a discussion doesn't "know" if the category it is in is a child.
Here is a thread discussing an implementation: https://vanillaforums.org/discussion/25812/category-viewing-thought
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.