q

Habari's functionality can be modified or
extended using plugins written in PHP.

Creating a Plugin

Step 1: Create The Plugin Class FileCreate a new directory in your /user/plugins directory that uses the name of your…

Autoloading Classes

Habari comes with an "Auto-load" feature that permits plugins and classes to be initialized automatically every time the system runs. …

Including Templates

Sometimes when creating plugins, you find that you also need to add some custom templates to the theme object. Thankfully …

Using FormUI

FormUI is a class for easily creating forms that mesh well with the Habari admin design and easily handling their …

Retrieving Posts

Returning a single postA single post should be returned by calling Post::get() and passing in the required parameters.For example, the snippet …

Adding short codes to Habari

Shortcodes are an easy way for plugins to allow you to embed dynamic output in your post content. When used …

Modifying the Login form

One of the first things most new themers want to know, is how to re-skin the login form. Thankfully in …