H
H
hypn0tize2014-02-26 22:27:11
MODX
hypn0tize, 2014-02-26 22:27:11

How to do sorting using the GetResource plugin in ModxRevolution?

GetResources output as follows:


I need a construction (this is how the documents are located in the resource tree):
Book 1
-Section
-Section
Book 2
-Section
-Section.
Currently it outputs inconsistently:
-Section
Book
-Section
Section I read the
forums and tried many different solutions, in most cases GetResources displays an empty sheet or everything remains unchanged.
How to make the snippet display information the way it is created in the resource tree?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2014-03-14
@BiOpSIhoS

GetResource in any way, IMHO. For a multi-level menu, wayfinder is better.
Or a few getResource calls, like this:
Book 1:

Book 2:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question