Just curious is there a way to change the order of the root menu's for this project. I currently have the following menu's active, some of which are custom.
- Development
- Domain
- Main
- Navigation
- Secondary Links
- Primary Links
- Resources
That is the order they are listed on the default
example.com/admin/build/menu
Page, the reason being is so i am able to spread my links out and make it easier for people to use this menu.
The issue is i cannot work out how to change the menu listing order for these >root< items it is easy for Items within a menu, using drag and drop. So is there a way that i can alter the order of how SimpleMenu orders the menu's i wish for it to show. In the configuration page, there is no hint of being able to do this.
If you could please advise of a solution i would be most grateful.
Kind Regards
DaneAU
Comments
Comment #1
AlexisWilke commentedHi DaneAU,
No. At this time there is no way to change the default order as it is. It's alphabetic...
Of course, you could go in and tweak the code to make it happen. I guess that the simplemenu should keep a weight for each menu. If the weight is 0, the menu is not selected, and if 1 or more it is shown in that order. I think that at this time the selection is simply 0 (Disabled) or 1 (Enabled).
Thank you.
Alexis
Comment #2
DaneAU commentedThanks Alexis, I began looking and came to that conclusion shortly after posting. I guess i can have a fiddle around on a dev site and see if changing this value helps or has any effect.
I appreciate the speedy response.
Kind Regards
Dane
Comment #3
DaneAU commentedI have found the simplest thing to do in resolving this in the interum is to create a bunch of new menu's and disable the old ones from being shown.
Meaning i have created the following menus
And so on until i am happy. Then in the configuration options of SimpleMenu i simple deselect the Navigation and Primary Links and utilise my own custom created menus.