i am using "simple menu" in all menu D6 as an admin menu for clients, it's a great module.
but with D7 (7.4) i can't make it working.
i can't display simple with an other than "management menu".
if i choose “navigation" i got "no menu items found", it's not a matter of permission because "navigation" appear as a block
if i let "navigation" in settings, and add the permission "Use the administration pages and help", then simple menu display but with the "management" menu
am i missing something ?

Comments

AlexisWilke’s picture

No, you're not missing anything. They've changed the menu system enough to were I couldn't very quickly make a switch like this. So it isn't done yet. Actually we'd need a co-maintainer for 7.x.

Thank you.
Alexis Wilke

bachbach’s picture

ok, thank you for the answer.
I will take a look inside, i will post a patch if i make it working

bach

bachbach’s picture

as a temporary solution :
in simplemenu.module in line 380

i replaced

$menu_tree[$menu_name] = menu_tree_all_data('management');

by

list($mname, $mlid) = explode(':', $menu_name);
$menu_tree[$menu_name] = menu_tree_all_data($mname);

i can now choose any root menu, but still can't choose a depth.

AlexisWilke’s picture

Will there always be a colon in a $menu_name variable?

Thank you.
Alexis

vasike’s picture

subscribe. and #3 seems to work. thanks bachbach

AlexisWilke’s picture

Status: Active » Fixed

Okay. I checked in #3 now.

Thank you for the feedback.
Alexis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

crobinson’s picture

Assigned: Unassigned » crobinson
Status: Closed (fixed) » Fixed

Sorry, comment against wrong issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.