Difference between revisions of "Plugin Toolkit"

From GeeklogWiki
Jump to: navigation, search
m (added direct link to Universal Plugin ToolKit)
(Updated compatible version information.)
Line 14: Line 14:
 
A plugin directory, using the name you entered, will be created in the current directory. This is a fully usable plugin, although it doesn't exactly do much yet. It does, however, perform install and uninstall and includes generic public and admin pages. Filling in the functionality is your job ...
 
A plugin directory, using the name you entered, will be created in the current directory. This is a fully usable plugin, although it doesn't exactly do much yet. It does, however, perform install and uninstall and includes generic public and admin pages. Filling in the functionality is your job ...
  
'''Note:''' [http://project.geeklog.net/tracking/view.php?id=828 Currently], the created plugin requires Geeklog 1.6, which at the time of this writing has not been released yet. You can download the current development version by following [http://www.geeklog.net/staticpages/index.php/CVS these instructions].
+
'''Note:''' [http://project.geeklog.net/tracking/view.php?id=828 Currently], the created plugin requires Geeklog 1.6 or later.
  
 
== Links ==
 
== Links ==

Revision as of 17:14, 6 May 2010

The Geeklog Plugin Toolkit is set to eventually replace the aging Universal Plugin. It will contain of a set of tools to assist plugin developers in creating and maintaining their plugins.

For now, there is only one tool available: The Plugin Generator.

Plugin Generator

The Plugin Generator has to be called from the command line. For this, you need the CLI version of PHP.

cd plugin-toolkit
php plgen.php

Follow the on-screen instructions. Default values are given in square brackets and can be used by pressing enter. If you want to change a value, simply enter it and then press enter.

A plugin directory, using the name you entered, will be created in the current directory. This is a fully usable plugin, although it doesn't exactly do much yet. It does, however, perform install and uninstall and includes generic public and admin pages. Filling in the functionality is your job ...

Note: Currently, the created plugin requires Geeklog 1.6 or later.

Links