Closed (fixed)
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
Shared
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 20:18 UTC
Updated:
23 Jun 2014 at 23:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nedjoImplementation of hook_admin_menu_output_build().
Comment #2
levelos commentedThanks @nedjo. Know anyway to get this to make the admin menu section to expand? Currently just adds a root /redhen path with no child items.
Comment #3
nedjoYep, here's an improved patch. See inline comments for details.
Comment #4
levelos commentedGreat patch @nedjo, commited.
Comment #6
Pete B commentedIs there a reason we can't change the menu items to the url admin/redhen ? This way we would get ourselves an entry in the "Management" menu by default and not have the weirdness of building up a menu in navigation and then copying it?
Using this method there is no way for me to change the position of the redhen menu without patching the module.
Comment #7
levelos commentedThe main reason is that changing the path to /admin/redhen will ruin the breadcrumb path for all items below /redhen. I'd prefer to leave as is.
Comment #8
johnennew commentedRedHen is administration functionality - it messes up all sorts of bits of Drupal not being under /admin. A good example is that redhen does not use the admin theme.
For anyone else struggling with this, I found the following code helpful:
Comment #9
johnennew commentedOr even better, this hook properly describes the redhen paths as admin paths;
Comment #10
nedjo@ceng: see #1679758: Declare redhen and redhen/* as admin paths.