Simplifying Drupal: A Mini Admin Toolbar

I screencasted the admin toolbar I use on this site. I've been stripping out as much of the theme areas as possible to make the content more prominent. If I'm logged in, however, I see a mini toolbar at the top of the screen that gives me access to the admin areas I need access to.

To subscribe to the urlgreyhot podcast, head to jibbajabba.blip.tv.

Comments

01 Scott Reynolds
06/25/08 @ 12:49

Not sure if you have looked at SimpleMenu (http://drupal.org/project/simplemenu) but it does this as a contrib module.

Essentially, you tell SimpleMenu which Drupal Menu you would like displayed at top. Then you can edit user access and specify roles for which the menu shows up.

It doesn't come out of the box with the ability to fix it to the top of the site, but that could be done pretty simply.

That requires the menu module, which can be a bit of overhead for a small site, but this module is interesting nonetheless.

02 Jeremy Caldwell
06/25/08 @ 13:01

I personally use and recommend SimpleMenu for my clients as there is no extra markup in the page.tpl.php file nor is there a need to edit anything regarding the theme to get such a menu.

I have made a few small changes to the CSS for SimpleMenu which allows the menu to stick at the top of the page while scrolling down to view more content.

Try adding this to your style.css (or any CSS in your theme directory) so when SimpleMenu is active it will stay put at the top of your screen.

#simplemenu {
  position: fixed;
  top: 0;
  left: 0;
}

Advertisement
03 jibbajabba
06/25/08 @ 13:38

Nice. Thanks for the tips, guys. I don't use Drupal menus, but this might be a good reason to do so.

04 oadaeh
06/25/08 @ 14:08

Nice. I'm constantly modifying the admin menu so that it works better for me than what I get with the default install. While what I've finally settled on requires a bit of effort to set up, it works and is not too much effort that I don't do it.

I tried a couple of the contrib modules that do similar things, and for one reason or another, eventually rejected them and went with my own thing.

What you've presented here looks very nice and clean, appearance wise, and it would be a very simple thing to port to another site with a couple of copy & pastes or include lines.

05 geboortekaartjes
07/09/08 @ 17:11

Nice video. I'm going to check out drupal to soon. It looks so slick!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <strong> <dd> <dl> <dt> <i> <li> <ol> <u> <ul> <code> <blockquote> <fieldset> <legend> <h6> <span> <img> <div> <p>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options