Plugin Perspective
Introduced in Tiki8 and backported to Tiki 7.1
Use this wiki plugin to display content based on the user's current perspective
Parameters
Display content based on the user's current perspectiveIntroduced in Tiki 7.1.
Go to the source code
Preferences required: feature_perspective, wikiplugin_perspective
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(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 condition. |
|||
perspectives |
digits separator: | |
Pipe-separated list of identifiers of perspectives in which the block is shown.Example value: 2|3|5 |
7.1 | |
notperspectives |
digits separator: | |
Pipe-separated list of identifiers of perspectives in which the block is not
shown.Example value: 3|5|8 |
7.1 |
Examples
Without {ELSE}
{PERSPECTIVE(perspectives=1)}type here the content only visible in Perspective ONE{PERSPECTIVE}
With {ELSE}
{PERSPECTIVE(perspectives=1)}type here the content only visible in Perspective ONE{ELSE}and here content NOT to be visible in Perspective ONE, but in all other Perspectives including 'default'{PERSPECTIVE}