Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Adapt the Categories sidebar panel to only list subcategories when inside that category
How would you adapt the Categories sidebar panel to only list subcategories when you are in that category (either at the category level or viewing a discussion in that category or any of its subcategories)?
0
Comments
Hope that core developers will be able to help with it more.
My personal preference - to have folding view with ability to unfold categories upon click (not like tree - just like list in XP, without left padding). And current category will be unfolded automatically.
I noticed that the default panel code doesn't use nested lists.
Otherwise you'll have down arrow at the right.
Also this'll allow you to not intrude into module code (after initial changes), and just add small JS code into view file to open necessary category (or fold all, or unfold all, if you wish).
Or search for jQuery plugins, may be.
http://www.scriptiny.com/2009/03/accordion/
and
http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-urban.htm