Fullscreen
[Show/Hide Right Column]

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}


Modules

See the list of Modules



Contributors to this page: xavi64542 points  , Xavi64542 points  , lindon5651 points  , Marc Laporte8171 points  , sylvie7160 points  , mlpvolt4266 points  , sebastiank2 points  , Jürgen Heckes473 points  and rodrigo_sampaio .
Page last modified on Saturday 30 April, 2011 13:52:34 UTC by xavi64542 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki