dokuwiki-plugin-struct icon indicating copy to clipboard operation
dokuwiki-plugin-struct copied to clipboard

Missing fields "hidden" and "hiddenautoinc" for struct data in bureaucracy plugin

Open Juergen-aus-Zuendorf opened this issue 7 years ago • 2 comments

Hi,

in combination with the bureaucracy plugin there are some missing fields like "hidden" and "hiddenautoinc" to set struct data automatically by certain parameters.

Best regards Juergen

Juergen-aus-Zuendorf avatar Sep 13 '18 11:09 Juergen-aus-Zuendorf

Can you elaborate a bit more how you think this should work exactly? Eg. what are you trying to achieve and how should it be implemented in struct?

splitbrain avatar Jan 10 '19 15:01 splitbrain

The idea for this issue came up using the template mode of the bureaucracy plugin:

So your questions: The "hidden" field makes sense with the field "fieldset", e.g.:

fieldset "Norm-Art ANSI"               "Norm-Art" "ANSI"
hidden   "Norm-Art-Z00"                "=ANSI" !
fieldset "Norm-Art ASME"               "Norm-Art" "ASME"
hidden   "Norm-Art-Z01"                "=ASME" !

And the "hiddenautoinc" is good to define an identifyer for a set of structured data:

fieldset "Bearbeitung abschließen"
thanks   "Seite wurde angelegt"
hiddenautoinc "Zaehler_TM" 00000
submit   "Mitteilung anlegen"

Because I can't address the parameters in the way that the data plugin does, I have no chance to fill out struct fields. For example "@@Zaehler_TM@@" doesn't work in the struct data input fields of the template referenced by bureaucracy.

The solution could be if the struct data input fields of the template would be able to contain such syntax elements, e.g. grafik or much better in combination with other elements (e.g. preceding text or other parameters): grafik

Juergen-aus-Zuendorf avatar Jan 10 '19 16:01 Juergen-aus-Zuendorf