TC
Twill CMS

👊support

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

C_crp875/16/2023
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
Iifox5/17/2023
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.
C_crp875/17/2023
Haven’t seen the buckets before. I think they are the solution to my problem. Thank you!! 🍀

Looking for more? Join the community!