Loading...
 
Skip to main content

History: Perspective Handler

Source of version: 4 (current)

Copy to clipboard
            Perspectives allow to modify the preferences globally in a session and thus change how the user will see the content in Tiki. Because most configurations are stored in preferences, almost anything can be modified, including the browser title and theme for example.

In Tiki4, they are managed via profiles, such as ((Jailroot_Demonstration)). Starting in ((doc:Tiki5)), you can manage via tiki-edit_perspective.php


This is the ((handler)).

!Sample

{CODE(caption=>YAML)}
preferences:
 enable: [ feature_perspective ]
objects:
 -
  type: perspective
  ref: my_perspective
  data:
   name: My Workspace
   preferences:
    browsertitle: My Workspace in Tiki
    feature_forum: n
    feature_wiki: y
{CODE}

!Perspective Object
||__Field Name__|__Mandatory__|__Value__
name|yes|Human readable label
preferences|yes|Content identical to ((Preference Management))
||