Table of Contents
structupdate Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
Installation
External requirements: This plugin requires the following additional plugin that must be installed separately:
- the struct plugin
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Syntax and usage
This plugins adds additional action to struct bureaucracy integration: structupdate_udpate
. This action allows you to replace the struct data on the current page with new data provided by the bureaucracy form. For example:
<form> action structupdate_update struct_schema example submit </form>
The above syntax will create the form that will allow to modify the “example” schema data assigned to the current page (the page with the form).
Only the fields that are displaied in the form will be modified, the rest will be kept. So the syntax:
<form> action structupdate_update struct_field example.fld submit </form>
will modify only the field “fld” from the “example” schema.
Current version doesn't support pre-filling the form with the current fields' values but work is in the progress.