Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Module Handler

This is a Handler which allows to assign modules on the left and right columns of Tiki.

Complete sample for Translation module

YAML
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 NameMandatoryValue
nameyesThe name of the module as listed in the administration panel, or any name if custom is used.
positionyesleft or right
orderyesNumeric 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.


Contributors to this page: Marc Laporte6087 points  , idealpragmatist347 points  and System Administrator .
Page last modified on Monday 13 of September, 2010 22:27:36 UTC by Marc Laporte6087 points .