Closed (fixed)
Project:
Control Panel
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Dec 2005 at 02:04 UTC
Updated:
28 Dec 2005 at 02:58 UTC
I have moved the control panel menu item to the Primary Links that are placed on the header of my theme. Now, I would like to find an easy way to hide the default drupal administer menu and all of its items from the Navigation block.
Do you know if this can be done automatically? Otherwise, I believe it would be nice to have an option to do so when this module is enabled/active.
Comments
Comment #1
dreed47 commentedYou can't just disable the admin menu item as it will not show anywhere in Drupal, including the control panel. The easest way to do this is to create a new menu (call it maybe "dummy_admin"). Then move the normal admin menu item to this new menu. This will affectly remove it from the normal navigation menu but will still keep it enabled for use elsewhere, such as with the control panel.
Comment #2
markus_petrux commented:(
If there was an easier way to hook into the menu tree creation process...
Comment #3
markus_petrux commentedHey, I just have tried this and it's been easier than I thought. It does the job! :)
Thanks for the tip
Comment #4
markus_petrux commented