For those of you wonder what iSlayter was talking about, Nested Categories are a way to store, edit, and display tree hierarchies without the performance hit of a recursive digging algorithm.
If I can rouse him, I'll get the code and start working on this myself since I want the feature. Otherwise, I'll start from scratch to do it.
I know it's not my place to make demands here (as I have no clue how to program php even in the remotes way) but as I just want to contribute my ideas I will make a suggestion of how I would envision to display subcategories:
See an example of the accordion effect of the mootools script library here:
http://www.chrisesler.com/mootools/mootools-accordion.html
It would be extremely cool to be able to toggle categories like this while saving space and working toward a clean structure (not overwhelming people with too many choices - only providing subcategories on click of the category of interest).
Would it be difficult to provide an extension that uses the mootools script library to accomplish this?
Dada
Comments
if(preg_match("/^(.+)-(.+)/smiU",$Category->Name,$match)) { $DisplayCat = $match[2]; $Class = "SubCategory"; } else { $DisplayCat = $Category->Name; $Class = "Category"; $PrevCat = $Category->Name; }
#^(.+)-(.+)$#
If I can rouse him, I'll get the code and start working on this myself since I want the feature. Otherwise, I'll start from scratch to do it.