[Show/Hide Right Column]

Display a module in a wiki page
Print

Plugin Module

Use this Wiki Plugin to display Modules in a wiki page (they are usually displayed in the left or right columns). To display a module in a wiki page, use the syntax:

{MODULE(module=>module_name_here)}{MODULE}
This syntax is that of a standard wiki plugin, so it is possible to use the shorthand syntax:
{MODULE(module=>module_name_here)/}
You can optionally pass other parameters :
{MODULE(module=>module_name_here,  align=>left|center|right, max=>, np=>0|1, args...)/}
Parameter Accepted values Effect Since
align left, center, right, nofloat, none Alignment of the module in the page nofloat causes module to be inlined
max Numeric Meant to control number of rows (apparently works only for some modules)
np 0, 1 If set to 1, the HTML output isn't parsed for WikiSyntax(the smarty syntax is parsed)
flip n, y If set to y, module is shadeable. This overwrite the default behavior specify in Module Admin Tiki 1.9
decorations n, y If set to n, box decorations are suppressed(default y), see Module Admin Tiki 1.9
float left, none, right Sets the position of the module in the page Tiki 1.9
overflow
title string can redefine the title
notitle y, n to not have title (default n) tw>=3.0
name
other Depends on the parameter The parameter is passed to the module.

Example:

{MODULE(module=>wiki_last_comments)/}

shows:

Note: This plugin works only with the basic modules, not with the user modules.

Displaying a module in a Template (.tpl)

You can place a module anywhere (header, footer) using the following syntax in a .tpl file:

{wiki}{literal}{MODULE(module=>wiki_last_comments)/}{/literal}{/wiki}


Contributors to this page: lindon2331 points  , Xavi36278 points  , sylvie4333 points  , sebastiank2 points  , rodrigo_sampaio , mlpvolt1895 points  , Marc Laporte5511 points  and Jürgen Heckes471 points  .
Page last modified on Saturday 03 July, 2010 23:16:31 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):