It has three different modes: textpattern plugin adds an easy to use tab to the administrative interface of Textpattern, command line mode works from the command line (just like zem_tpl does). Web mode works in a php enabled web server and you can invoke it from a standard browser.
]]>Features:
The package contains two files, zem_tpl.php
and zem_plugin.php
.
zem_tpl.php
contains the code to compile plugins into the format required by the Textpattern plugin installer. zem_plugin.php
is the template itself. Make a copy of this file and edit it to write your plugin.
Typical use, at the command line:
$ cp zem_plugin.php abc_myplugin.php
[edit abc_myplugin.php]
$ php abc_myplugin.php > abc_myplugin-0.1.txt
abc_myplugin-0.1.txt
is the finished plugin, ready to install.
In order to use Textile in the help section, classTextile.php must be in the include_path. The simplest way to ensure this is to copy it to the current directory.
Alternatively, both classTextile.php and zem_tpl.php may be placed elsewhere in the include_path.
]]>