Loading...
 
Skip to main content

History: Module Handler

Source of version: 9

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

! Complete sample for Translation module
{CODE(caption=>YAML)}
preferences:
 enable: [ feature_multilingual, feature_wiki ]
objects:
 -
  type: module
  data:
   name: translation
   position: left
   order: 1
   groups: [ Editors, Translators ]
   params:
    pivot_language: en
{CODE}

! 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.
parse| |Wiki parse custom module data. ''(Tiki 9.1+)''
||

__Notes:__
*''custom:'' can support multiple lines of content if you use html for line breaks (no returns allowed), or format as a [http://yaml.org/spec/current.html#id2540046|YAML "Literal Block"]





! Examples
((Personal_Blog_and_Profile)) - contains several examples of modules including a user (custom) module.
((Collaborative_Community)) - installs commonly used modules.

        

History

Information Version
Tue 14 of Feb, 2023 04:37 GMT-0000 Marc Laporte These pages will be deleted because they are old profiles 10
Sat 14 of Jul, 2012 17:31 GMT-0000 Jonny Bradley added parse for 9.1+ 9
Mon 13 of Sep, 2010 22:27 GMT-0000 Marc Laporte cleaner 8
Wed 07 of Apr, 2010 21:32 GMT-0000 idealpragmatist 7
Wed 07 of Apr, 2010 20:35 GMT-0000 idealpragmatist adding examples. 6
Sat 25 of Apr, 2009 09:16 GMT-0000 System Administrator 5
Sat 23 of Aug, 2008 15:35 GMT-0000 Marc Laporte 4
Sat 23 of Aug, 2008 15:28 GMT-0000 Marc Laporte 3
Tue 05 of Aug, 2008 18:43 GMT-0000 System Administrator 2
Tue 05 of Aug, 2008 17:54 GMT-0000 System Administrator 1