|
|
Plugin HowtoNote: This page is just being put together, for questions please refer to the mailinglist. BasicsThis page puts together a few notes for getting into the development of "Flux CMS"-Plugins See also:
SetupBasic setup of plugins in Flux CMS - Subject of contents (extract):
Folders
Keeping a plugin in a separate repositoryIf you want to keep your pluginfiles separate from the "official" "Flux CMS"-sources, create a directory called "localinc". Classes in there are loaded exactly as the regular "inc"-Folder. If a file is placed in both folders, the original "inc" gets higher priority. localinc/bx/plugins/myplugin.php Debugging while developingSome handy debuggung-functions are provided by the class bx_helpers_debug. For outputting a variable, just add the following to your code: bx_heplers_debug::webdump($foo); Available PluginsGet themEach plugin correspond to a php file. To see what's available, check :
For example, you can get/find :
Use themIn each plugin php file, you should find some info about the needed context :
You can get more infos about some 'classical' plugins on this website (check this page's siblings). You will find some global and detailed infos in 'Plugins for Flux CMS' - pdf, 1MB. You also can find some interesting infos at http://beni.bitflux.ch about the folllwing plugins :
|
Add Comment