Closed (fixed)
Project:
Admin
Version:
6.x-2.0-beta6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2010 at 17:48 UTC
Updated:
26 Aug 2010 at 18:30 UTC
Jump to comment: Most recent file
As of admin-6.x-2.0-beta6, the module can no longer co-exist with the admin_menu module because of a hard PHP error: Cannot redeclare theme_admin_menu_item().
Also, the comment above the function (in admin/theme/theme.inc) has what looks like a typo, saying it's an alternative to itself.
/**
* Alternative to theme_admin_menu_item().
[...]
*/
function theme_admin_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) {
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | admin_drilldown_theme_functions.patch | 4.98 KB | yhahn |
Comments
Comment #1
yhahn commentedo, that's a #fail. will revert, as this is not strictly necessary.
Comment #2
yhahn commentedhttp://drupal.org/cvs?commit=404376
Comment #3
grantkrugerThe code remains in the official beta6 release.
Comment #4
abaddon commentedfor reference:
admin_menu issue: http://drupal.org/node/879712
why this change: http://drupal.org/node/841414
Comment #5
seanrReturning this to active since there still isn't a release and this is a pretty critical bug.
Comment #6
yhahn commentedThis patch renames the admin drilldown-related theme functions under the
admin_drilldownnamespace and adds thetheme_menu_item()protection theme function mentioned above.Would love testing & review before I commit and roll into a release.
Comment #7
yhahn commentedComment #8
abaddon commentedtested and it works as expected, ive used -beta6 with the changes in this patch ported to it
i dont have admin_menu but shouldnt be any issues now
thank you
Comment #9
piratinha commentedworks perfectly with the admin_menu
thankx yhahn
Comment #10
yhahn commentedCommitted here: http://drupal.org/cvs?commit=406228
Available in 2.0-rc1