mxExtendedMenu
Last updated Apr 21st, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn morePurpose¶
mxExtendedMenu was built to boost large content menus by reducing the processing overhead used with chunks. In addition it provides an extremely flexible and targeted set of templates based on resource depth, type and more. If you have a mega-menu or complex html structure then this is also a good alternative. Note that by default to boost performance, as its the main purpose, all template properties are expected to be the actual html block of code to use, see parameter enableModifiers for more information on using chunks for the added control via output modifiers.
Parameters¶
Parameter | Type | Default | Purpose/Use |
---|---|---|---|
docid | int | [[*id]] |
Specify the starting resource id to build the menu from |
depth | int | 10 | Max depth the menu should be built to |
contextFilter | string | current context | Used to over ride and use external context resources to build menu |
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more