Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
Creating Navigation in Craft CMS
In this example, we create a Global Set in Craft and use it to build and manage the site navigation. The advantage here is that it allows someone, presumably the client or customer, to manage the navigation from the Craft control panel. This is helpful in some scenarios because it doesn't require the intervention of a developer or technical staff member.
In this example, we create a Global Set in Craft and use it to build and manage the site navigation. The advantage here is that it allows someone, presumably the client or customer, to manage the navigation from the Craft control panel. This is helpful in some scenarios because it doesn’t require the intervention of a developer or technical staff member.
This implementation has the downside of straddling static and fully dynamic navigation, with limited control over child navigation items (like the drop-down we did in the Partially-Dynamic version above).
We can handle this navigation in a few ways because we can use any field or field type in a Global Set. For this version, let’s use a Table field and manage all navigation items as table rows.
Creating Navigation in Craft CMS is made up of the following videos: