SubCategories 1.0 is here! And there was much rejoicing. (Yay!)
You can download it here:
Some of the more significant changes from the previous release (0.4):
- Much much improved interface (specially designed to make use of MT 3.0's CSS)
- Significant clean-up of the code
- Addition of the
rayners::SubCategoryAPI for other plugin developers - Improved interface
- New tags:
MTTopLeveParent,MTIfIsAncestor,MTIfIsDescendant - Fixed a number of nagging bugs
MTSubCategories(andMTTopLevelCategories): settingsort_orderto 'descend' actually works correctly nowMTSubCategories(andMTTopLevelCategories): new attributesort_methodallows you to define a custom category sorting methodMTSubCatsRecurse: new attributemax_depthgives you control over how deep into the category hierarchy you want to go in your template- Did I mention the improved interface?
- Should still be compatible with MT 2.x (not extensively tested though)
- MT 3.0 feature: when a category is removed via the MT interface, it is also removed from the hierarchy (i.e. the parent of its children will be set to its parent). If you are still using MT 2.x, those children will be listed as orphaned categories in the interface.
Be sure to read the SubCategories documentation for installation instructions and complete template tag and API documentation.
I spent a very large amount of time fixing bugs, implementing features, and just adding polish to this new version of SubCategories. If it proves useful to you, you might want to consider donating or purchasing something on my Amazon wish list (links coming shortly). I very much enjoy working on all my plugins, and I make them available for free, but they do take up a great deal of my time.
Enjoy!
hi david,
i cant get it installed
i always recive the message:
Can't locate object method "load" via package "MT::PluginData" at extlib/rayners/SubCats.pm line 53.
i use mt 3.0, mysql
it MT::PluginData not included to mt3?
where does i get it?
or what is the error
I made a quick fix and uploaded a new version of SubCategories. Just download and install it again and you should be okay.
Hi David, trying to get to the documentation at http://wiki.rayners.org/plugins/SubCategories but getting a MoinMoin Configuration Error... Is there an alternate URL to view the information at? Thanks.