No reorder pages in Document Tree Macro

Hi Users,

I need to reorder the pages in my navigation pane,

image

I cannot see any parameters related to reorder in Document Tree Macro.

While the Hierarchy Macro do supported it.

Since am using XWiki 9.8.1 Hierarchy Macro is deprecated in it.

Is there is any other option to achieve it using Document Tree Macro?

Yes I agree that the Hierarchy Macro is much nicer in term of features and we need to go towards being able to have the same features for the Document Tree Macro.

The Doc Tree Macro has one feature that the Hierarchy Macro didn’t have and it’s an important one: the ability to scale. Se http://extensions.xwiki.org/xwiki/bin/view/Extension/HierarchyMacro#HNoteaboutscalability

AFAIK this is what’s currently holding us a bit but we need to find solutions.

As a workaround, note that you should be able to use the Tree Macro with a query to achieve the same result as the hierarchy macro.

@vmassol

As a workaround, note that you should be able to use the Tree Macro with a query to achieve the same result as the hierarchy macro.”

Could you please elaborate on this?

See http://extensions.xwiki.org/xwiki/bin/view/Extension/Tree%20Macro

@vmassol

I can achieve this using draganddrop parameter in it. But most interestingly the order changes after page refresh.

I mean the order changes not getting saved.

Sorry can’t help you on my side, I don’t know this macro.

@vmassol

Okay, thanks for your reply :slightly_smiling_face: