Loading...

Plugin structure

Windu CMS consists of independent plugins which are connected by the fact that they are all called out from the so called core system.
A plugin is an independent program that has its own controller, models and configs.

Structure of the plugin:
 
plugin-struktura
  • addons - here we can add any php files which execute operations for us, this folder is a core of our plugin. It's important to correctly name our file and class inside of it, so the autoloader can understand the syntax. Name of the class is an "image" for example and the name of the file in this case should be "image.class.php" and its like this in whole system.
  • config - here we have 4 files with predefined names which are:
    • config.php - file that contains additional constants, which will be attached to config by the system
    • css.ini - file with tabels of css files which are added to resources of the loader, system will include them in a correct place in "view".
    • js.ini - like css.ini but its javascript files
    • router.ini - file with structure of paths, defines which path has to call out to what
  • controller - all the controllers which are indicated by router
  • model - if plugin has its own tables then file answering to given table should be in the same folder.Remember about correct name of the file, if table is named "images" then model should be named "imagesDB.class.php"
  • resources -here we have an ability to insert all the aditional resources like images, fonts or css/js files

We are continually working to improve Windu CMS!

By visitng the Windu website you will be kept up to date on new developments concerning the CMS.

2014-05-19 Battle Report

Since the release of Windu 3.0 we have we have done a lot of stuff to our CMS. The most important event in the near future will be the upgrade to version 3.1, which means a...

2014-03-25 Windu 3.0 - list of changes

After many months of challenges, new version of our CMS is finally out! We've decided to drop the idea Windu 2.4 and go for 3.0 straight away due to amount of changes...

2013-06-17 Update - Windu CMS rev 1432

New Windu CMS update is available for download at update server! Update includes several changes in our system: Pinning of tabs - allows fast navigation between open...

Buy a PRO license!

Activate loads of add-ons in your windu!

Buy a PRO license