History: Module Handler
Preview of version: 8
This is a Handler which allows to assign modules on the left and right columns of Tiki.
Notes:
Collaborative_Community - installs commonly used modules.
Complete sample for Translation module
YAML
Copy to clipboard
preferences: enable: [ feature_multilingual, feature_wiki ] objects: - type: module data: name: translation position: left order: 1 groups: [ Editors, Translators ] params: pivot_language: en
Module Object
Field Name | Mandatory | Value |
name | yes | The name of the module as listed in the administration panel, or any name if custom is used. |
position | yes | left or right |
order | yes | Numeric value, lower values are displayed above |
cache | Default 0, time to cache in seconds | |
rows | Amount of rows to display | |
groups | List of group names allowed to view the module | |
params | Generic list of key value pairs. Options depend on the module definition. | |
custom | String containing the body of a user module. When this option is used, a user module with the same name will be created. |
Notes:
- custom: can support multiple lines of content if you use html for line breaks (no returns allowed). Currently there is not a way to turn on the "parse for wiki" checkbox though.
Examples
Personal_Blog_and_Profile - contains several examples of modules including a user (custom) module.Collaborative_Community - installs commonly used modules.