Skip to content

Two levels backend navigation on custom main menus #196

Answered by bennothommo
hirisov asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the NavigationManager::registerContextSidenavPartial() method to define a custom partial for the side navigation for a particular main menu item. This is what the Settings area does.

The custom partial can then be set up to format the side menu in whichever fashion you would like. You can take a look at the Settings sidenav partials to get an idea of how to set it up similar to the Settings area.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hirisov
Comment options

@hirisov
Comment options

@bennothommo
Comment options

Answer selected by hirisov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #195 on May 31, 2021 09:01.