This project is read-only.

NavigationBuilder - Trying to "insert at" for the main menu

Topics: Writing modules
Oct 28, 2015 at 6:15 AM
Through the module I'm building, I'd like to add a menu item that has a dropdown submenu. I can create this and add it to say the 0 position or a larger number to be appended to the main menu, however I want to place the link/submenu as a specific position.

If I do add to a certain position, any child menu items from existing navigation items added through the dashboard>navigation end up being in my new dropdown and don't stay with the parent it should be with.

Any ideas on how to correctly "insert at position" without screwing up other submenus?