S
S
Sergey Ignatiev2017-06-22 06:54:08
MODX
Sergey Ignatiev, 2017-06-22 06:54:08

How to set parent from child element in pdoMenu?

There are several parents, each of which has several children.
In child elements, you need to specify menu items, only from this parent. Something like parent = id minus 1 level.
How to set it in pdoMenu? &parents=`?`
I didn’t find this in the documentation (((
Here , the same question, but also remained unanswered ((
1260f2abf4cb4b8c8b5169770d41ad3c.jpgIn general, in the "grandchild 1-3 resources, you need a menu with items Grandson 1-3, i.e. only from the parent" Son1 " etc

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2017-06-22
@serebro223

pdoField

F
Froggyweb, 2017-06-22
@Froggyweb

&parents=`0` will then be displayed from the root,
or the parent id
AND specify the nesting depth

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question