DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:structupdate

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

plugin Adds action to bureaucracy forms that allows to update struct data of the page

Last updated on
2021-02-18
Provides
Helper
Repository
Source
Requires
struct

Tagged with struct

Installation

:!: External requirements: This plugin requires the following additional plugin that must be installed separately:

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.

plugin/structupdate.txt · Last modified: 2022-01-28 09:33 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki