Difference between revisions of "Plugin Toolkit"

From GeeklogWiki
Jump to: navigation, search
m (grammer)
 
Line 19: Line 19:
  
 
* [http://www.geeklog.net/filemgmt/index.php?id=941 Download] from geeklog.net
 
* [http://www.geeklog.net/filemgmt/index.php?id=941 Download] from geeklog.net
* [http://project.geeklog.net/cgi-bin/hgwebdir.cgi/plugin-toolkit/ Mercurial repository] for the Plugin Toolkit
+
* [https://github.com/Geeklog-Core/plugin-toolkit Git repository] for the Plugin Toolkit
* The Plugin Toolkit is a separate project in the [http://project.geeklog.net/tracking/ bugtracker]. Select "Plugin Toolkit" from the "Project:" dropdown.
+
* The Plugin Toolkit is a separate project in the [https://github.com/Geeklog-Core/plugin-toolkit/issues bugtracker].  
 
* [[Plugin Developers Handbook|Plugin Developer Handbook]]
 
* [[Plugin Developers Handbook|Plugin Developer Handbook]]
 
** also see [[Programmers/Developers Documentation]] for plugin API changes and additions
 
** also see [[Programmers/Developers Documentation]] for plugin API changes and additions

Latest revision as of 21:51, 10 January 2016

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