First, great job with this module! It is by far the best admin interface for Drupal I've seen. So much easier on the eyes.

I'm having some trouble modifying the menu items, particularly on the top nav bar. I've poked around the code, and I get the basics -- that it's pulling selected admin items from the Navigation menu. I can't seem to successfully make changes to which items show up, however.

Specifically, for my clients I'd like to link to non-admin pages created in Views -- so, for example, they're able to see a list of all nodes of a particular content type. The PHP code seems to be pulling out only admin items for the menu -- seems like it must be an edit of admin_menu_navigation_links() and admin_menu_alter() and maybe something else? Can you please enlighten me?

Thank you!

Comments

yhahn’s picture

Assigned: Unassigned » yhahn
Status: Active » Fixed

You're right that the way the admin menu was being built was rather cryptic and not particularly customizable. I committed some changes tonight that should help the situation out http://drupal.org/cvs?commit=222032. The change essentially:

  • Creates a new menu for admin links called admin. You'll need to run update.php for this if you're upgrading from a previous version.
  • Lets you add/manage the links in the admin menu through the standard Drupal menu UI. If you've customized the admin menu at all (especially the root Administer item) you'll want to reset your items an clear your cache.
  • There is an additional checkbox on the overview and individual menu item forms for displaying the link in the top admin menu as well. If left unchecked, the item will be excluded from the top menu but show up in the regular lefthand admin menu and subnav items per usual.

Hopefully this help -- you should be able to add menu items for your views per usual to the admin menu now.

robynover’s picture

This looks great! Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.