Loading...
 
Skip to main content
Display contents based on user preference settings

Plugin User Pref

Introduced in Tiki4

Use this wiki plugin to display content depending on whether a user preference value.

Parameters

Display contents based on user preference settings
Introduced in Tiki 4.
Go to the source code
Preferences required: wikiplugin_userpref

Parameters
(body of plugin) - Wiki text to display if conditions are met. The body may contain {ELSE}. Text after the marker will be displayed to users not matching the conditions.
no parameters

Example

Copy to clipboard
{USERPREF(realName="toto" language="fr")}some text{ELSE}other text{USERPREF}



Created by sylvie. Last Modification: Friday 13 October, 2023 13:39:28 GMT-0000 by Baraka Kinywa.