plugin:struct:bureaucracy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:struct:bureaucracy [2018-01-09 11:40] – https://github.com/cosmocode/dokuwiki-plugin-struct/pull/368 solewniczak | plugin:struct:bureaucracy [2024-05-05 19:43] (current) – [Struct Plugin: Bureaucracy Support] - plugin:struct zweihorn | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Struct Plugin: Bureaucracy Support ====== | ====== Struct Plugin: Bureaucracy Support ====== | ||
- | The Struct Plugin supports integration with the [[plugin: | + | The [[plugin: |
===== Single Field ===== | ===== Single Field ===== | ||
Line 31: | Line 31: | ||
Action template templates: | Action template templates: | ||
textbox name @ | textbox name @ | ||
- | struct_schema "product" ! | + | struct_schema "products" ! |
submit " | submit " | ||
</ | </ | ||
Line 38: | Line 38: | ||
Please note that all additional parameters given will be added to each individual field. Eg. you can only make all fields of the schema mandatory or optional. | Please note that all additional parameters given will be added to each individual field. Eg. you can only make all fields of the schema mandatory or optional. | ||
- | ===== Templates ===== | + | In this way you can't use '' |
- | At the moment it isn't possible to use pre-filled fields as templates | + | < |
+ | < | ||
+ | Action template | ||
+ | textbox name @ | ||
+ | struct_schema " | ||
+ | submit " | ||
+ | </ | ||
+ | </ | ||
Line 54: | Line 61: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ==== Prefilling ==== | ||
+ | |||
+ | You can prefill fields by adding a '' | ||
+ | When you set a '' | ||
+ | For Lookup-Fields on Page-Schemes you must setup the complete namespace to the target (e.g. '' | ||
+ | |||
+ | Following code | ||
+ | |||
+ | < | ||
+ | < | ||
+ | action struct_lookup | ||
+ | struct_field " | ||
+ | struct_field " | ||
+ | struct_field " | ||
+ | struct_fieldhidden " | ||
+ | submit "Save into lookup" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | will result in this (localized in Schema-Editor): | ||
+ | |||
+ | {{https:// | ||
plugin/struct/bureaucracy.1515494415.txt.gz · Last modified: 2018-01-09 11:40 by solewniczak