The root element of any manifest should be an
<ajxp_plugin> element, with the id attribute set to the plugin id (id = type.name). For the sake of listing and documenting the pluging, a couple of attributes are required :
- id: type.name of the plugin. Actually it is added automatically if not there
- label, description: can either be simple texts (“My Plugin Name”, “A more detailed description”), but it is recommanded to enclose the text inside a CONF_MESSAGE[“your text here”] bracket. This will refer to i18n libraries, see the dedicated section.
- mixins: refers to the /plugins/core.ajaxplorer/ajxp_mixins.xml file, where some commonly used set of XML elements are defined. You can refer to a comma-separated list of “mixins”, they will be merged automatically to this XML.
Note: Editors (editor.*) plugins have some specific attributes, their root node must be an
The first-level of children of the root element will be generally the following:
<plugin_info>Documentation like set of tags, to describe the plugin author, version, etc.
<server_settings>the parameters of this plugin, either global (will apply to all instances), or to be set for each instance of this plugin.
<registry_contributions>All the actions, hooks and other tags that will be dynamically concatenated to create the XML registry.
<dependencies>Add a dependency to another active plugin, so that if it’s not active this one cannot activate, and/or trigger the load of another plugin resources (php class, or js/css resources).