This is an old revision of the document!
Table of Contents
structstatus Plugin
Compatible with DokuWiki
elenor of tsort
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to labeled
This plugin adds a new type to the struct plugin to add a status to a page. The status can be shown and changed prominently in a sidebar.
The list of possible statuses is configured through a lookup schema.
Installation
This plugin requires the struct plugin which has to be installed first.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Setup
After installation, create a new lookup schema
in the Schema Editor and import the schema provided in status.struct.json.
Next create a page and add the Lookup Editor for the schema:
---- struct lookup ---- schema: status ----
Use the editor to define the statuses you want to have available:
Now you can use the new Status type in your page schemas (the schema config references the lookup schema you created earlier)
To add the status widget to your sidebar, insert the following code into our sidebar:
~~NOCACHE~~ {{struct-status>pageschema.status}}
pageschema
is the page schema you used the statu type in and status
is the name of that status field. Th widget will only be shown when you are on a page that has the pageschema
assigned.
The status can easily be changed by clicking the appropriate status (requires the proper permissions to edit the page and struct data).