h1. ied_plugin_composer

<txp:ied_var var="donate" />

is an admin textpattern plugin to create your own plugins, a meta plugin you can say.

"download *ied_plugin_composer v0.4*":http://inspired.kiev.ua/file_download/5

Links: "discussion at textpattern support forum":http://forum.textpattern.com/viewtopic.php?id=14898, "textpattern plugin writer's cheatsheet":http://inspired.kiev.ua/txp-plugin-cheatsheet, "Plugin Author Resources at textpattern support forum":http://forum.textpattern.com/viewtopic.php?id=9881

h2. Features

* *Add* new empty plugin to the list of plugins
* *Create/edit* the plugin's code, help, description and other metadata
* Copypastable *code for distribution*
* *Save as* "plugin_version.txt" - file with code for distribution
* *List* files in plugin_cache_dir
* *Edit* files in plugin_cache_dir
* *Publish* plugins in plugin_cache_dir
* *Save as* "plugin_version.php" - file with php raw code and plugin's metadata commented out - you might want place this file to _plugin_cache_dir_ to continue developing in a php editor
* *Upload* plugin from "plugin_version.php" - import php code from file.
* "TinyMCE WYSIWYG editor":http://forum.textpattern.com/viewtopic.php?id=13089 support for help editing area. Thanks "Tranquillo":http://forum.textpattern.com/profile.php?id=4396

h2. Template

Template for php file that can be handled by the Textpattern Plugin Composer:

<pre><code><notextile>
<?php
</notextile></code></pre>
_plugin php code goes here_
<pre><code><notextile>
/*
--- PLUGIN METADATA ---
Name: txp_pugin_name
Version: 0.1
Type: 0
Description: this plugin does a lot of things
Author: Joe Smith
Link: http://example.com
--- BEGIN PLUGIN HELP ---
<p>plugin help</p>
--- END PLUGIN HELP & METADATA ---
</code><code>*</code><code>/
?>
</notextile></code></pre>

Note: change Type to 1 if your plugin uses admin side, perhaps adds a new tab.



h2. History:

0.4 - 29 April 2006
+ Edit files in plugin_cache_dir interface
+ Edit name of a plugin
+ Delete plugin button
+ Other enhancements and fixes

0.3 - 10 April 2006
+ List files in plugin_cache_dir
+ Publish plugins in plugin_cache_dir
+ Foolproof fixes

0.2.1 - 18 March 2006
+ Small fixes

0.2 - 17 March 2006
+ Save as "filename_version.php" feature
+ Upload plugin from php file feature
+ Other updates and performance enhancement

0.1.2 - 25 February 2006
+ "TinyMCE WYSIWYG editor":http://forum.textpattern.com/viewtopic.php?id=13089 support for help editing area. Thanks "Tranquillo":http://forum.textpattern.com/profile.php?id=4396

0.1.1 � 25 February 2006
+ save as "filename_version.txt" feature

0.1 � 25 February 2006