Plugin System

hice3000 edited this page May 24, 2013 · 3 revisions
Clone this wiki locally

For my own CMS I created a custom plugin system. This will not be interesting for projects, where the developer is also the user.

Installing

Before you can use the plugin system, you have to edit a few files in your CodeIgniter installation. The complete source is in my own repository. You can see what I've modified with the original CodeIgniter here.

Using the Plugin System

So, if you have installed the Plugin System, it'll be useless until you fire some events:

// Coming Soon

Creating a Plugin

I have created a Gist, which shows an very well commented example plugin. You should be able to create your own one with the comments' information.