Closed (fixed)
Project:
Menu Minipanels
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2012 at 22:26 UTC
Updated:
4 Aug 2021 at 09:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaPlease explain more about your self. How are you loading the secondary navigation - via the normal Drupal secondary-menu mechanisms?
Comment #2
neclimdulYeah, sorry I wasn't clear. The site I was hoping to use this on has a primary level of navigation that contains 3 top level sections of the site and then the secondary navigation(the output of menu_secondary_links()) is actually the "primary" navigation for each section of the site. Because the code in menu_minipanels_init() iterates over each top level of the menus but never goes any deeper, the settings for any menus deeper in the structure never get added to the page even though they exist. The theme functions do correctly add the classes though.
Comment #3
damienmckennaThanks for clearing it up, I see now where the problem is. I'll have to investigate menu_navigation_links() further and work out how to present that in the UI.
Comment #4
damienmckennaThis checks if the primary menu is enabled, and then checks if the primary and secondary menus are set to the same menu, then if so it loads the second level of that menu.
Comment #5
damienmckennaCorrected the defaults for the menu source variables.
Comment #6
damienmckennaWrong branch for #5.
Comment #8
damienmckenna#5: menu_minipanels-n1633136-5-d7.patch queued for re-testing.
Comment #9
damienmckennaD6 version of #5.
Comment #10
damienmckennaCommitted.
Comment #12
damienmckenna