Closed (won't fix)
Project:
Administration menu
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2010 at 20:20 UTC
Updated:
4 Aug 2012 at 05:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunDid you try whether they appear after flushing caches?
Comment #2
fearlsgroove commentedYes I tried, flushing cache doesn't seem to help. You can reproduce quite simply:
expected result: new item in the admin menu
actual result: no changes to admin menu
Comment #3
fearlsgroove commentedComment #4
fearlsgroove commentedAs far as I can tell I can move menu items provided by code into the administration menu and they show up, however "custom" menu items, including those created thru the menu section of the node form, do not show up.
Comment #5
traceelements commentedI really, really wish this feature would be added. I would be very happy to be able to customize the administration menu. It would be nice to be able to "un-enable" items in the menu that I am not using. Currently, un-enabling links in the administration menu is not reflected in the menu bar, nor is adding links.
A step beyond this would be to be able to set what displays in the administration menu based on the user. For example, I'd like to be able to set exactly what links show up for my editor in the menu.
Comment #6
fearlsgroove commentedThis appears to be because manually added menu items are technically callbacks, and admin_menu obscures callbacks to hide a bunch of crap links:
Why are there a bunch of odd links dumped into the admin_menu? I haven't looked. In the site I'm testing, there's a delete link for each content type and several remove field links (possibly for each field, haven't confirmed that tho) in the root of the admin_menu menu. They all have plid 0 and type CALLBACK so maybe they're related to the drupal core issue.
All of those links also seem to be hidden (hidden != 0) as well, while manually added menu links (node/1, civicrm, etc) are not hidden. This patch changes this check to look for hidden, which seems reasonable, and in my testing resulted in all the same links being visible, plus the manually added menu items.
Comment #7
fearlsgroove commentedsorry last patch had extraneous debug statement still in it
Comment #8
fearlsgroove commentedComment #9
fearlsgroove commentedComment #10
fearlsgroove commentedComment #11
traceelements commentedIt worked! Thank you so much!
Comment #12
liquidcms commentedi tried to apply patch and realized i was still at 1.5
upgraded to 6.x-3.0-alpha4 and applied patch - not only did my manually created menu item not show but i now have duplicates of some other items
realized there was an update script i had to run - ran that and now i have no items in admin menu
uninstalled menu and tried from scratch.. no help - no longer have any items in admin menu
i guess this is why alpha - this inital issue is new for D6 isn't it - i know i was able to organize the admin menu items and add as i needed in D5
Comment #13
fearlsgroove commented[812524] is a duplicate of this
Comment #14
hixster commentedsubscribing
Comment #15
sunOne of the conclusions drawn in #6 is correct: you are facing those bugs in Drupal core's menu system, as listed on the project page.
Comment #16
leamas commentedComment #17
leamas commented#7: admin_menu-754338.patch queued for re-testing.
Comment #19
domidc commentedHaving same problem with 6.x-1.6
Comment #20
danny englanderSame issue, subscribing.
Comment #21
mtpultz commentedSubscribing
Comment #22
mastfish commented#7 works for me, running 6.20.
Thanks
Comment #23
johnny-j-hernandez commentedI have a new menu item for the page view of my module and I've created a link in the Navigation menu but it just won't show up in the administration menu drop down. I created the menu through the admin/build/menu/add page and my new menu link shows up fine on the admin page for the parent item. I've cleared cache, "wiped and rebuild" on the admin menu settings and rebuilt my theme registry. Nothing works.
Pressflow 6.17
-johnny;j
Comment #24
moosh101 commentedSame here. Manually created admin menu items do not get displayed on the Administrator Menu. Is there anyway to add manually created menu items to the Administrator Menu module other than hacking the code?
Thanks,
Shane.
Comment #25
sunComment #26
inky@inky3d.com commentedSame issue - using 6.22, admin_menu 6.18
Edit: I reinstalled the module, and discovered that I can add menu items to the Admin_menu. But any existing menu items (eg the help) still show up even if disabled.
Flushing the cache clears all changes I made and reverts back to default.
Comment #27
sunApparently, this issue was never filed against 7.x-3.x, and I'm also not able to reproduce the bug in 7.x-3.x.
Thus, removing the tag and reverting version.
Comment #28
sunThis won't be fixed in 6.x-3.x anymore. The menu system in Drupal 6 core has/had many major problems, and I'm not eager to work around them, as that would require lots of complex, custom code. Solution: Upgrade to Drupal 7.
Comment #29
ssn commentedMake your menu paths like "admin/..." e.g. "admin/user/filter". Clear the cache and the admin menu will automatically pick the menu items. It works on drupal 6 don't know about drupal 7.