Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
PluginPref | Documentation for Tiki Wiki CMS Groupware
Loading...
 

Plugin Pref

Introduced in Tiki11

Use this wiki plugin to display content based on global preference settings.

Parameters

Tiki Doc From Code error: pref not found

Examples

Basic syntax

Copy to clipboard
{PREF(preference_name="value" preference_name="value")}If all met, display this!{ELSE}Other content.{PREF}

Language preference

Copy to clipboard
{PREF(language="fr")}Salut ! {ELSE}Hello!{PREF}

Related pages

List Slides
Show PHP error messages