Plugins

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 23, 2009   (RSS)

I've looked at the code to see how I might be able to implement a plugin. Essentially, I'd like to add a custom function that will be accessible via the section menu which is built based on the sections editors that have been defined.

I can see the hooks in the code to pick up an plugins that have been defined based on whether a certain file exists in the plugin directory, but can't actually see anywhere in the code that does anything with these plugins.

Can anyone offer any (basic) advice on how to implement a new plugin?

Thanks - Paul.

Re: [pothompson] Plugins

By Dave - March 12, 2009

Hi Paul,

We're still figuring out the best way to do plugins for CMS Builder.

I'm actually re-writing the plugin system for the next release to be more like wordpress. This should make it a lot easier to write plugins and then we can add hooks where needed as people request them. On top of this I know a number of programmers are already familiar with that system.

So that new release should be out soon and then you could work with that.

What kind of plugin do you want to write?
Dave Edis - Senior Developer
interactivetools.com

Re: [pothompson] Plugins

By Dave - March 23, 2009

Hi Paul,

We're working on how to allow that, but it's a ways off.

The simplest solution right now would be to hard code your link into the menu in: /lib/menus/header.php

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com