Coding with SPIP 2.1
SPIP 2.1 Technical Documentation

> > > plugin.xml, other common attributes

plugin.xml, other common attributes

Options and functions

The files for the options and functions provided by the plugin are declared directly within the plugin.xml file using the options and fonctions attributes:

  1. <options>porte_plume_options.php</options>
  2. <fonctions>inc/barre_outils.php</fonctions>
  3. <fonctions>autre_fichier.php</fonctions>

Download

Several function files may be loaded if necessary by listing them in succession.

Documentation link

The lien attribute is used to provide an address for documentation about the plugin:

  1. <lien>http://documentation.magraine.net/-Porte-Plume-</lien>

Plugin icon

The icon attribute is used to specify an image to be used to visually represent the plugin:

  1. <icon>imgs/logo-bugs.png</icon>
  • Author :
  • Published :
  • Updated : 02/06/10
  • Translations : English, français