After installation i gave 1 of my sub-admin accounts access to only 1 menu, however when logged in on that account it doesn't show the menu at all when making any type of new content, but instead displays this error:

warning: Invalid argument supplied for foreach() in /--REMOVED--/modules/delegate_menu_admin/delegate_menu_admin.module on line 343.

I have not made any changes to the module, but do use this module:
http://drupal.org/project/admin
Which also make changes in the admin area.

Please help me with this problem, so far this module is the only one i've found the can do what i want (giving a user only access to 1 menu when adding content).

Comments

Graloth’s picture

I am just wondering while reading the other issues for this module, is it even still maintained?

pabloid’s picture

I had same problem using this module in conjunction with ctm module http://drupal.org/project/ctm, when I disable menu setting for a content type.

gmclelland’s picture

I get the same error when I have http://drupal.org/project/ctm enabled, but I see the error on node/add/content-type. When I disable the CTM the error goes away.

Any thoughts of why this happening?

I'm also curious if this module is still maintained? It looks like a great module.

jphelan’s picture

I have the same error in conjunction with http://drupal.org/project/ctm when I don't select a menu for a content type.

dkingofpa’s picture

sub

justindodge’s picture

Hi guys, your negligent maintainer here. Trying to get this module cleaned up and ultimately on to D7.

Could this be a duplicate of #907516: Incompatible with Menu Settings per Content Type module ?
I've committed the patch provided in the above issue to the 6.x-1.x-dev branch and tried to reproduce this issue - but everything seems to be working for me.

If anyone is willing to try and verify this is fixed I would appreciate it.