README-plugins 733 B

12345678910111213141516171819202122
  1. Several example plugins are included in the plugins/ directory. You
  2. can enable a plugin with the following line in config.php:
  3. addPlugin('Example', array('param1' => 'value1',
  4. 'param2' => 'value2'));
  5. This will look for and load files named 'ExamplePlugin.php' or
  6. 'Example/ExamplePlugin.php' either in the plugins/ directory (for
  7. plugins that ship with StatusNet) or in the local/ directory (for
  8. plugins you write yourself or that you get from somewhere else) or
  9. local/plugins/.
  10. Plugins are documented in their own directories.
  11. Additional information on using and developing plugins can be found
  12. on the StatusNet wiki:
  13. http://status.net/wiki/Plugins
  14. http://status.net/wiki/Plugin_development