-
Notifications
You must be signed in to change notification settings - Fork 6
Guide: Plugins
This is a brief introduction how to use and create your own plugins for the CMS
Views in plugins are located in"
plugins/*/views/$filename
Ideally all the jQuery plugins you use would optionally call define() to register as a module. Some of the plugins you use may already call define() to register as an AMD module. If they do not, then you can wrap the code yourself with this wrapper:
To extend the website with your own plugins please visit the kisscms-plugins repo which contains examples and walkthroughs how to create your own custom logic...
Plugin folders have the same file structure as the APP folder. Although not all folders may not be required, based on the plugin functionality, a plugin folder can contain any of the following:
- bin: Can contain configuration options in the
- controllers:
- helpers:
- lib:
- models:
- public:
- views:
Config::register("main", "site_name", "KISSCMS");
- The bin folder