How do I change the sort order of the items displayed in the startmenu?
Litium version: 7
How do I change the sort order of the items displayed in the startmenu?
Litium version: 7
Drag and drop in the left kategori menu under Products tab in BO how you would like the order of categories to be visible in the Mega Menu.
Ok. But I also have a menu item for brands. I guess there is no setting for this sorting and I will have to make a change in code?
Yes, changing the order under Websites CMS and Brands-page pages does not alter the ordering.
Sorry I thought you were using 6 version but in 7 you can not switch ordering at all on the GUI for sub-pages.
Sub-pages for a page is ordered on the Sub pages
-tab that you will find when you edit the page (not the block mode).
Ok, when I sort the sub-pages that holds the menu on the start page in the order I want, they still dont render in that order in the menu.
We need to sort the menu items by the SortIndex, by modifying the NavigationViewModelBuilder.cs.
Please edit the method GetMegaMenuPages in NavigationViewModelBuilder.cs, change it so it would return: megaMenuPages.OrderBy(p => p.Page.SortIndex).ToList()