Combining Quickposts and Habminbar

While hacking my sandbox Habari install, I installed both Chris J. Davis Quickpost plugin as well as Matt Reads Habminbar. Quickposts enables you to bring up a very lightweight post interface instead of loading the full admin area to write an entry. Habminbar adds an admin bar to the top of every page for easy access. With both these enabled, it seemed natural to try and combine the two. Doing so was suprisingly simple, and the combination works really well. In habminbar/habminbar.plugin.php, find the following (line 92 in v0.2):


private function get_menu()
        {
                $bar= '
'; $bar.= ''; $bar.= '
    ';
and replace it with

 private function get_menu()
        {
                $bar= '
'; $bar.= ''; if (function_exists('action_auth_ajax_cjd_post_quickie')) { $bar.= 'Quickpost'; } $bar.= '
    ';
This will add a small Quickpost button on the left hand side of the Habminbar which will bring up the Quickpost interface. Pretty nifty: Quickpost and Habminbar Combined

Posted by Christian Mohn aka h0bbel

Post metadata


Published June 19, 2007 00:44
2 comments

Tagged with , , and 


2 Responses to Combining Quickposts and Habminbar:

0 Pingbacks to Combining Quickposts and Habminbar:

  • There are currently no pingbacks.

Leave a Reply


Contact me

Lets talk!
Get in touch