We're redesigning our site and getting rid of the sidebar. The main reason for the sidebar to exist was to hold Organic Menus (og_menu), which we have hundreds of groups, each with 2 or 3 menus. I want to move OG menus to the main menu.
What I would like to do is when a user visits a particular OG
- load the menus for that OG (trivial)
- programmatically make the menu's name the top level links linked to # (Trivial - we use bootstrap)
- add the menu's links below those top level links (this is where it gets tricky)
- and append them to the main menu as the last to links (no clue)
So the top level would look like this only when the user hit the group
Home Communities Forum Group-Menu-1 Group-Menu-2
Home, communities and forum are always there the group menus are appended when they're in that group. I don't need code I just need direction on which parts of the API will facilitate this.