Answer the question
In order to leave comments, you need to log in
Nested call to pdomenu?
Good afternoon. There is a flat one-level main menu of the site. But one level directory should be displayed with nested resources. Is there a way in pdomenu to define a template or id or something else that will help to make a pdomenu call with other parameters. Ie in the chunk to track which resource is being processed?
Answer the question
In order to leave comments, you need to log in
Hello, pdoMenu has a &tplParentRow template for nested menu rows, i.e. prescribe a different output template for such lines, indicating, for example, another class. If the menu is completely non-standard, then in the &tplParentRow template, you can write another pdoMenu call, specifying &parents=`578566` .
For more information about parameters see here - https://docs.modx.pro/components/pdotools/snippets...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question