Mega Solutions for Mega Menu Problems
I’ve been working with Sitecore since 2009 when I began my career as a web developer. Here are a few things I’ve learned about navigation along the way. Everybody loves ‘mega’ menus. Every website I’ve ever worked on (bar one) has a mega menu. They’re a quick way to get users around your website to the important bits without lots of scrolling. Here are a few approaches to building them in Sitecore. Use the content tree How: Create a base template all potentially navigable page items will inherit from with a checkbox field indicating whether or not that page is navigable. Then, either create another base template for panels, or integrate it into the navigable item base template and tell users to ignore the extra fields depending on where the page is. Pros No additional items needed. The navigation follows the structure of the tree. If you have simple navigation panels, you can get away with just having one template that covers all the bases. Cons Depending on how flat the site is and ho...