P
P
Petr Ponomarev2016-11-29 23:55:50
MODX
Petr Ponomarev, 2016-11-29 23:55:50

How to display the menu of the current resource?

There are several resources, each with internal pages.
The task is to display the menu of the current resource through pdoMenu, what to write in &parents=` `??, if we are in a child resource, then the parent's menu is displayed, that is, it should not change.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-11-30
@zooks

pdoField to the rescue (UltimateParent replacement)
https://docs.modx.pro/components/pdotools/snippets...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question