I created a property to flag nodes in the tree which should show in the navigation and this works. However ultimately I'm looking to take the returned items and split them in to a tabbed mega menu and this is where I'm struggling.
I did find this post from Sebastiaan (https://gist.github.com/nul800sebastiaan/1067257) which I think is similar to what I want to do, just can't translate this in to creating new Bootstrap 4 tabs with the returned content.
Col1 in the mega menu would show top tree level, col2 would show child items for each item in Col1 (I have a script which shows the child items in col2 for each col1 item)
I have built a basic html version of this which works, just need some pointers for the MVC version though.
So far pretty basic, the issue I have is that the child list is showing beneath each parent node. Which to be fair is because that's what the helper method is doing and I'm just rendering that in a ul
MegaMenu using MVC method with Bootstrap 4 tabs
Hey...hope someone can help or point me in the right direction
I've followed Paul Seal's method to implement and populate a new site MVC site navigation as per the link below.
https://codeshare.co.uk/blog/umbraco-site-navigation-menu-model-example-in-c-mvc/
I created a property to flag nodes in the tree which should show in the navigation and this works. However ultimately I'm looking to take the returned items and split them in to a tabbed mega menu and this is where I'm struggling.
Helper method for this is:
I did find this post from Sebastiaan (https://gist.github.com/nul800sebastiaan/1067257) which I think is similar to what I want to do, just can't translate this in to creating new Bootstrap 4 tabs with the returned content.
Col1 in the mega menu would show top tree level, col2 would show child items for each item in Col1 (I have a script which shows the child items in col2 for each col1 item)
I have built a basic html version of this which works, just need some pointers for the MVC version though.
Thanks Stuart
Post the HTML you're trying to achieve and I'm sure we can help.
Steve
Thanks Steve
So far pretty basic, the issue I have is that the child list is showing beneath each parent node. Which to be fair is because that's what the helper method is doing and I'm just rendering that in a ul
Got this so I will mark as solved, just had to re-work my helper method for the correct layout. Every day's a school day, for me anyway :)
is working on a reply...