Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Child pages (Children Display)
excerpttrue
excerptTypesimple

Structure of a plugin

Plugins must follow a given structure so they can be installed correctly. Once at all, all files of a plugin package are packed to an ZIP archive, which later is unpacked from the installation routine of the plugin manager.

...

Tag nameDescriptionAvailable attributesExample
areasManaging areas
NameDescription
parentName of the parent area or 0
relevantSince CONTENIDO 4.9.9: Show this area on menu (1) or not (0). This attribute is optional. Before version 4.9.9, relevant is at all time active.
menulessArea has left menu frame (0) or not (1)
Code Block
languagehtml/xml
<areas>
	<area parent="linkchecker" relevant="1" menuless="1">lc_whitelist</area>
</areas>
actionsManaging actions
NameDescription
areaName of the area
Code Block
languagehtml/xml
<actions>
	<action area="linkchecker">linkchecker</action>
</actions>
framesManaging frames
NameDescription
areaName of the area
filetypeType of the file (mostly "main")
namerelative path to frame include file
frameIdNumber of the frame (from 1 to 4)
Code Block
languagehtml/xml
<frames>
	<frame area="linkchecker" filetype="main" name="linkchecker/includes/include.linkchecker.php" frameId="4" />
</frames>
nav_mainManaging main navigations
NameDescription
nameName of the menu (since CONTENIDO 4.9.910)
Code Block
languagehtml/xml
<nav_main>
	<nav>locationname</nav>
</nav_main>
nav_subManaging sub navigations
NameDescription
areaName of the area
levelNavigation level (0 or 1)
navmMain navigation ID
Code Block
languagehtml/xml
<nav_sub>
	<nav area="linkchecker" level="0" navm="1">linkchecker/xml/lang_de_DE.xml;navigation/content/linkchecker/main</nav>
</nav_sub>

...