...
Child pages (Children Display) |
---|
excerpt | true |
---|
excerptType | simple |
---|
|
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 name | Description | Available attributes | Example |
---|
areas | Managing areas | Name | Description |
---|
parent | Name of the parent area or 0 | relevant | Since 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. | menuless | Area has left menu frame (0) or not (1) |
| Code Block |
---|
| <areas>
<area parent="linkchecker" relevant="1" menuless="1">lc_whitelist</area>
</areas> |
|
actions | Managing actions | Name | Description |
---|
area | Name of the area |
| Code Block |
---|
| <actions>
<action area="linkchecker">linkchecker</action>
</actions> |
|
frames | Managing frames | Name | Description |
---|
area | Name of the area | filetype | Type of the file (mostly "main") | name | relative path to frame include file | frameId | Number of the frame (from 1 to 4) |
| Code Block |
---|
| <frames>
<frame area="linkchecker" filetype="main" name="linkchecker/includes/include.linkchecker.php" frameId="4" />
</frames> |
|
nav_main | Managing main navigations | Name | Description |
---|
name | Name of the menu (since CONTENIDO 4.9.910) |
| Code Block |
---|
| <nav_main>
<nav>locationname</nav>
</nav_main> |
|
nav_sub | Managing sub navigations | Name | Description |
---|
area | Name of the area | level | Navigation level (0 or 1) | navm | Main navigation ID |
| Code Block |
---|
| <nav_sub>
<nav area="linkchecker" level="0" navm="1">linkchecker/xml/lang_de_DE.xml;navigation/content/linkchecker/main</nav>
</nav_sub> |
|
...