Return to main site

Reporting

Updated template for plugin developers available

We have recently made some minor changes (the latest just a few hours ago) to the plugin compiler and the template. This goes partly hand in hand with the changes to the plugin-installation some of you have no doubt observed in the dev-branch. We encourage everyone to use the new template and the compiler. But don’t worry, it’s compatible – both ways.

The main change in the plugin installation is that we display the source html-code of the help, to make it easier for users to review it in the same way the php-code can be reviewed. However in many cases help doesn’t need to contain html, because textile is enough. Therefore the new plugin-compiler will additionally save the raw (i.e. untextiled) help in the plugin. And unless the new option $plugin['allow_html_help'] is used, all html will be escaped when the new plugin-compiler is used. The benefit of not having html in the help, is that a) we can render the help on plugin-preview (there’s no html to review) and b) it’s easier to add tag-examples in help.

The modified plugin-compiler, the plugin-template and the example-plugin have moved into the subversion repository. It is available at:

http://svn.textpattern.com/development/4.0-plugin-template/

Posted 31 August 2006, 19:39 by Sencer Yurdagül

Digg This
---