Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
On this page:
TWiki Plugins | ||||||||
Line: 28 to 28 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Pre-Installed Plugins | |||||||
> > | Preinstalled Plugins | |||||||
TWiki comes with three Plugins as part of the standard installation. | ||||||||
Line: 38 to 38 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Managing Installed Plugins | |||||||
> > | Managing Plugins | |||||||
Ideally, after you've installed a Plugin, just read the instructions and you're set. In fact, some Plugins require additional settings or offer extra options that you can modify on Preferences pages. You may want to make a Plugin available only in certain webs, or temporarily disable it. And having to list all available Plugins will probably come up. You can handle all of these with simple procedures. | ||||||||
Changed: | ||||||||
< < | Set Preferences for Individual Plugins | |||||||
> > | Setting Preferences | |||||||
Installed Plugins can be toggled on or off, site-wide or by web, through TWikiPreferences and individual WebPreferences: | ||||||||
Line: 59 to 59 | ||||||||
| ||||||||
Changed: | ||||||||
< < | List Active Plugins Automatically | |||||||
> > | Listing Active Plugins | |||||||
Plugin status variables let you list all active Plugins wherever needed. There are two list formats:
| ||||||||
Line: 83 to 83 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Creating New Plugins | |||||||
> > | Creating Plugins | |||||||
With a reasonable knowledge of the Perl scripting language, you can create new Plugins or modify and extend existing ones. Basic plug-in architecture uses an Application Programming Interface (API), a set of software instructions that allow external code to interact with the main program. The TWiki Plugin API Plugins by providing a programming interface for TWiki. | ||||||||
Line: 113 to 113 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Customize the DefaultPlugin | |||||||
> > | The DefaultPlugin Alternative | |||||||
| ||||||||
Changed: | ||||||||
< < | Create a Plugin Module in Perl | |||||||
> > | Creating the Perl Module | |||||||
Copy file (EmptyPlugin.pm ![]() <name>Plugin.pm EmptyPlugin.pm contains no executable code, so it does nothing, but it's ready to be used. Customize it. Refer to the Plugin API specs for more information.
| ||||||||
Changed: | ||||||||
< < | Create a Plugin Documentation Topic | |||||||
> > | Writing the Documentation Topic | |||||||
The Plugin documentation topic contains usage instructions and version details. It serves the Plugin files as FileAttachments for downloading. (The doc topic is also included in the distribution package.) To create a documentation topic: | ||||||||
Line: 153 to 153 | ||||||||
Changed: | ||||||||
< < | Package a Plugin for Distribution | |||||||
> > | Packaging for Distribution | |||||||
A minimum Plugin release consists of a Perl module with a WikiName that ends in Plugin , ex: YourPlugin.pm , and a documentation page with the same name(YourPlugin.txt ). | ||||||||
Line: 167 to 167 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Publish a Plugin for General Use | |||||||
> > | Publishing for Public Use | |||||||
You can release your tested, packaged Plugin to the TWiki community through the TWiki:Plugins web, where all Plugins submitted to TWiki.org are available for download and further development discussion. Publish your Plugin in three steps: |