WordPress, Drupal and many other popular Content Management Systems already offering a small handy admin toolbar, which allows the user to quickly do some actions, jump to a specific admin page or just see some quite interesting information. Bludit itself doesn't offer such a core functionality, but the Admin Bar Plugin from Martin Cajzer (MakeItBlu.com) fills this gap.
The whole plugin code is in the main
plugin.php file, only 4 images as well as an additional Polish translation (next to the English one, of course) increase the files number in the folder. But this amount of code is already enough to show a small toolbar, containing the site title, a local "Edit Post" short link, some extended admin links and some meta information as well as a logout button.
A few settings are also available, this way you can show / hide the site title, the extended administration menu links, the settings links as well as the whole admin bar itself. Another small option allows you to change the Position of the toolbar (top or bottom).
How does it work?
The system behind this plugin is really simple, it just adds the styles as well as the HTML code of the admin bar on the bottom of the used theme. Everything is included using the
siteBodyEnd() Plugin hook, even if the
sideHead() hook would be a better place for the styles itself.
However, the code is really simple written, which allows it to easily extend the plugin on your own. Adding own / custom links, change the default ones or do some other cool stuff directly on the core code is not a big deal.
Still, the plugin is really useful for, at least, content creators! Would do you think? Write me your opinion down in the comments!