This question about Using an extension: Answered

Influence order generated by TreePlugin

Is it possible to change order of lists generated by TreePlugin?

-- MateuszKDzior - 16 Oct 2015

TreePlugin does not provide for specifying the sort order (which is surprising), but as with a lot of things in Foswiki, there's more than one way to skin that cat. Take a look at either JSTreeContrib or TreeBrowserPlugin or even JQueryTreeview which comes pre-installed in Foswiki. Any of these allow you to generate the list of topics using SEARCH macro or some other macro and then they apply the special list formatting. If you're specifically after an expandable parent-child browser, you might take a look at DBCachePlugin's DBRECURSE macro to create the parent/child list and then use JQueryTreeview to make it expandable/collapsable.

-- Main.LynnwoodBrown - 28 Oct 2015 - 16:53

BTW, here's another reason to drop TreePlugin in favor of JQueryTreeview: Foswiki 2.0.1 crashes on TreePlugin activation. It's a small issue but I almost always prefer an approach that builds on default Foswiki features.

-- LynnwoodBrown - 28 Oct 2015

QuestionForm edit

Subject Using an extension
Extension DBCachePlugin, JSTreeContrib, TreePlugin
Version Foswiki 2.0.0
Status Answered
Related Topics
Topic revision: r3 - 28 Oct 2015, LynnwoodBrown - This page was cached on 02 Oct 2017 - 12:42.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License