Main page
|
Recent changes
|
History
Menu:
Main page
|
Recent changes
|
History
Menu:
Plugins
B
I
U
S
link
image
code
list
Show page
Syntax
!Plugin installation and configuration !!Installation/Activation/deactivation Plugin installation and activation is done by simply copying the plugin file(s) to the "plugins" directory. If you want to deactivate some plugin, you have at least three options: * Delete plugin file. * Rename them. LionWiki accepts plugins with specific filename - it must start with "wkp_" and end with ".php". * Deactivate them in Admin plugin, like [here|./index.php?action=admin-plugins]. !!Plugin configuration Plugins are basically PHP classes with some member variables -- some of these member variables are configuration options. So if you want to change e.g. password in Admin plugin, open plugins/wkp_Admin.php in text editor and change $PASSWORD member variable. !!!Configuration in config.php Plugins configuration explained above has one serious flaw - when you upgrade your installation to newer version of LionWiki, all settings is lost. '''Since LionWiki 3.1''' it is possible to configure plugins in config.php file: {{$Admin["PASSWORD"] = sha1("my_password");}} So, you take a look at the member variable name in the plugin class and use it as a member of an array named after plugin.
Password
Summary of changes