S
S
Sergey2015-07-19 01:51:34
MODX
Sergey, 2015-07-19 01:51:34

Wayfinder: how to properly display the second-third level menu?

Good afternoon!
I can't figure out how to use Wayfinder for modx revo. I have a single or double nested resource tree. And there is a menu with the separation of different levels of nesting in different parts of the page. An approximate view of the structure is as follows:
1. About the company
1.1. Branches
1.1.1. In Moscow
1.1.2. In St. Petersburg
1.1.3. In Bangkok
1.2. Contacts
1.2.1. Marketing Department
1.2.2. Guideline
1.2.3. Purchasing department
2. Our products
Etc.
To display the top menu, I need a construction like
Now I need to display in another block only the second level menu items that belong to the first level active item. I create a construct like
In this case, I get both first and second level menu items. Not that. How can I specify that only submenus from the selected item are displayed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Andreev, 2015-07-19
@sergey_privacy


Having previously installed the UltimateParent package from the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question