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

dreed47’s picture

Assigned: Unassigned » dreed47

You 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.

markus_petrux’s picture

:(

If there was an easier way to hook into the menu tree creation process...

markus_petrux’s picture

The easest way to do this is...

Hey, I just have tried this and it's been easier than I thought. It does the job! :)

Thanks for the tip

markus_petrux’s picture

Status: Active » Closed (fixed)