P
P
Petr Ponomarev2017-03-28 16:16:03
MODX
Petr Ponomarev, 2017-03-28 16:16:03

How to display resources in an additional field of multiple choice in compliance with the hierarchy?

The task is as follows: display resources with child documents in the additional field of the multiple choice in compliance with the Hierarchy?
@SELECT pagetitle, id FROM modx_site_content WHERE parent="1"
does this without respecting the hierarchy.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2017-04-10
@ig0r74

Call pdoMenu snippet or similar. Only there will be not @SELECT but some other tag. Like eval Look - there are plenty of examples.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question