Hi There
I installed 5.x-3.0-alpha2 and the admin menu was working perfectly. Then i tried to add the 'Create Content' menu item and it refused to put it in to the admin menu (and yes it was a child of Administer).
So i reset my Administer menu to go back to default settings etc, and the admin menu disappeared! I have reset every menu back to default settings and it is still not there. I have tried uninstalling, and re-installing the module to no effect at all. I am at a complete loss as to why it no longer shows.
Please help.
Many thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 753410_use_proper_menu_id.patch | 447 bytes | hanoii |
Comments
Comment #1
W0lvEriNE commentedComment #2
hanoii@wolverine.. try out this patch, I also saw this on a few sites of my own and I took the time to fix it for one of them.
The problem I found is that the theme_admin_menu_tree($pid) function had a $pid = 5 hardcoded. $pid is the menu ID for admin is most drupal 5 installation, however, that might change. Not sure when or why, on my case I think it was because it's been dragged from previous drupal versions. On wolverine, maybe because of a menu edit change.
Comment #3
hanoiiComment #4
sunThanks for reporting, reviewing, and testing! Committed.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #5
sunComment #6
hanoiiThat was quick, I think it was the fastest committed patch I ever submitted (it was a one line patch after all)
but yay anyway!
glad to help.