I have been searching both the admin_menu forum and the devel forum for an answer to this question but I cannot find it anywhere.

My setup is:

Drupal 6.14
Admin Menu 6.x-3.0-alpha3
Devel 6.x-1.x-dev
IIS Server

I am not using the latest dev version of admin_menu b/c I read on another thread that there were bugs with it and specifically it was not showing 'create content' in the admin menu. (I did test it just in case... but I couldn't see devel in the admin_menu with that version either).

Am I missing something? For my last site, devel showed up in admin menu automatically.. I don't think I had to do anything. Also, I tried to use my older setup version of admin_menu and devel but that still didn't work. That setup was using a different version of drupal core.. but I can't imagine that is the problem.

Anybody able to offer a suggestion on how I can get devel menu to show up in admin_menu?

Thanks.

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

What do you mean with "devel menu"?

kate’s picture

I just mean all of the development menu links... like "empty cache", "rebuild menus", "switch user"... In my old setup all of these options appeared under the word "Devel" in the admin_menu. But now they just appear in the development block that I enabled. I would like to see them in the admin menu again.

kate’s picture

Status: Postponed (maintainer needs more info) » Needs review
avpaderno’s picture

Status: Needs review » Active
mtsanford’s picture

I'm wondering about this myself. The project page says "Integration with Devel module is available out of the box", but the meaning of this is ambiguous. I see no settings for it at admin/settings/admin_menu, and nothing in the README.txt. Nothing in the settings for Devel either.

kate says:

" In my old setup all of these options appeared under the word "Devel" in the admin_menu."

I was hoping this would be possible with admin menu. Can somebody please elaborate on "Integration with Devel module is available out of the box?"

Thanks.

izmeez’s picture

I've noticed the same problem with version 6.x-1.x-dev and never did figure it out.

sun’s picture

Status: Active » Fixed

- The switch user list appears when hovering over the own username in the administration menu. (if you have are permitted to switch users)

- The menu below the icon contains a link to Devel's variable editor.

- The menu below the icon also contains multiple options to flush caches. Those, however, do not depend on Devel module.

Status: Fixed » Closed (fixed)

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

AdrianB’s picture

Has it ever been possible to access more of Devels functions in the Administration Menu than in the current version? Like "Execute PHP" etc?

Marmalade’s picture

Firstly to clarify: when the original poster said "Devel menu" I believe they were referring to the menu items which appear under the Drupal icon at the left end of the Admin menu, specifically the links that the devel menu adds to the admin menu such as empty cache.

I also experienced this issue on a completely clean install of Drupal 6.16 and admin menu 6.x-1.5

I was also not seeing the Content types in the Content Management part of the Admin Menu.

I finally narrowed it down to the version of PHP I was running. When I switched from 5.3.2 to 5.2.13 (thankfully MAMP comes with both) all my problems went away. :)

Hope this helps!

Marmalade’s picture

Status: Closed (fixed) » Active
alfthecat’s picture

Having the same problem. I always had the variable editor in the left hand side of the admin_menu but it's now gone missing.

I haven't changed anything to my PHP version though, and it always used to work fine.

Deej’s picture

It's a Php 5.3x issue, using the reference as a function parameter to admin_menu_admin_menu().
Go to the function in admin_menu.inc and change the parameter from (&$deleted) to ($deleted = array()).
Then empty cache, rebuild, etc and you should have the drop down again.

Alternative to hacking module: (themeing & jQuery)
Enable the Devel block for your theme.
Edit your themes .info to include a javascript file, ie for Zen:
scripts[] = js/devel-menu.js

Create the js file with the following code:

$(document).ready(function() {
  if (Drupal.settings.admin_menu) {
    $('#admin-menu > ul').append('<li id="devel-menu"><a href="/admin/settings/devel">Development</a></li>');
    $('#block-menu-devel .content ul.menu').appendTo('#admin-menu > ul > li#devel-menu');
    $('#admin-menu > ul > li#devel-menu ul.menu').removeClass('menu');
  }
});

Add this to the themes style.css file.

#block-menu-devel {
  display: none;
}

Rebuild theme, clear caches, etc and now the Development block menu will be moved to your admin bar. :)

klonos’s picture

Title: Devel menu does not show up in admin_menu » Devel menu does not show up in admin_menu (php 5.3.x)
Issue tags: +PHP 5.3 compatibility

+tag

dave reid’s picture

Status: Active » Closed (fixed)

Update to a recent version of admin_menu 6.x-1.x. This was resolved with #615058: Parameter 1 to admin_menu_admin_menu() expected to be a reference. This issue was wrongly opened for a different reason from the original request after reaching closed status, so marking back as fixed.