FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Code Block
linenumberstrue
languagephp
<?php
return array(
	// Unique identifier of the plugin
	// Same name as the plugin folder
	'myplugin' => array(
		// Name of the plugin
		'name' => 'My Plugin',
		// Description of the plugin
		'description' => 'Description of myplugin',
		// Author of the plugin
		'author' => 'Joe Public',
		// Email of the author the plugin
		'email' => 'myplugin@example.com',
		// Version the plugin
		'version' => '0.1.0',
		// Is plugin a channel?
		'channel' => TRUE,
		// Does plugin have a crawler?
		'crawler' => TRUE,
		// Array of available channel options
		'channel_options' => array(
			// Channel option with type
			'keyword' => array(
				// Label of the option (*tip use i18n __('xxx'))
				'label' => __('Keyword'),
				// Option type (text, textarea, password, radio, group)
				'type' => 'text',
				// Available values for this option
				'values' => array()
			),
			'person' => array(
				'label' => __('Person'),
				'type' => 'text',
				'values' => array()
			),
			'place' => array(
				'label' => __('Place'),
				'type' => 'text',
				'values' => array()
			)
		),
		'dependencies'	=> array(
			'core' => array(
				'min' => '0.2.0',
				'max' => '10.0.0',
			),
			'plugins' => array()	// unique plugin names
		)
	),
);