Help/PluginManagerPlugin
Note: You are viewing an old revision of this page. View the current version.
The PluginManager plugin provides a dynamic list of plugins on this wiki.
Usage
<<PluginManager info=args>>
Arguments
Argument |
Description |
Default value |
---|---|---|
info |
Display the arguments also. To disable use info=0. |
enabled |
Configuration
define('REQUIRE_ADMIN', true) in the sourcecode to disable general usage.
Example
<<PluginManager>>
PhpWiki lets you extend it with new functionality via a plugin mechanism. In short, you extend a PHP class we provide and customize it to print out the content you want. For more information see Help:WikiPlugin, Help:HelloWorldPlugin, and view the source of the files in lib/plugin.
If there is no example page for the plugin, or you need more information, the best place to go is the source of the plugin. Under your wiki's root directory, the folder lib/plugin contains all the PHP files for the plugins.
External Requirements
Some plugins require correctly configured PLUGIN_CACHED and external libraries not provided with PhpWiki or PHP, such as
- PHP with GD support for the text2png plugin,
- LaTeX2HTML for the TexToPng plugin and TeX2png plugin,
- graphviz for the GraphViz plugin and VisualWiki plugin,
- ploticus for the Ploticus plugin,
- phpweather for the PhpWeather plugin,
- highlight for the SyntaxHighlighter plugin,
- a browser with <iframe> support for the Transclude plugin,
- USE_DB_SESSION = true (default for the peardb, adodb or dba backends) for the WhoIsOnline plugin,
- --with-xml support (with expat or libxml2) for the RssFeed plugin (ProjectSummary, RecentReleases) and HtmlParser support (ImportHtml, HtmlAreaEditing),
- PHP Mail functionality (php.ini: SMTP + sendmail_from on Windows or sendmail_path) for email PhpWiki:PageChangeNotifications and ModeratedPage's,
- a Google license key for the GooglePlugin plugin,
- optionally an external recommender engine (none yet, php only so far) and the wikilens theme for the RateIt plugin,
- optionally apache/mod_log_{my}sql for fast, external log analysis if ACCESS_LOG_SQL=1 (Referer, Abuse Prevention). See lib/Request.php and http://www.outoforder.cc/projects/apache/mod_log_sql/