How to create multiple navigations with multiple levels based on the navigation Guide

Following the Guide at https://twillcms.com/guides/page-builder-with-blade/adding-navigation.html it's straight forward to integrate a navigation with page browser. But what if you want to create multiple navigations: primary, sidebar, footer And maybe they also have different levels. So the one starting with "Startseite" would be primary one but "test" should not be a second level navigation item. They should be on one level as primary navigation but another level would be a submenu for example. "Menü 2" could be a separate navigation which should not be rendered with the primary navigation items.
Twill
No description
2 Replies
ifox
ifox2y ago
The guide is showing one example, there are many ways to go about multiple menus: 1 twill module per menu, or, instead of a nested module using a parent child module so that the parent is the menu itself and the children are nested leafs of your menu. You could also use buckets for some of your non nested menus. Or you can continue using a single nested module and decide that the top level parents are your menus.
_crp87
_crp87OP2y ago
Haven’t seen the buckets before. I think they are the solution to my problem. Thank you!! 🍀
Want results from more Discord servers?
Add your server