dokuwiki-plugin-bureaucracy
dokuwiki-plugin-bureaucracy copied to clipboard
Possibility to have template selector ?
I need form like this :
Documentation name : Template type (dropdown) : Tata / Titi / Toto <Submit>
It's possible ?
Yes - it's possible.
One way is this:-
- Create a template namespace in the data/pages directory (data/pages/templates).
- Put your three templates there:- tata.txt, titi.txt, toto.txt
- Create a form based on this (replace $Destination with a real destination) :-
<form>
action template templates:"@@Template type@@" $Destination
Select "Template type" "Tata|Titi|Toto"
Fieldset
Submit "Press the button to win a prize"
Thanks "Your prize is in the mail"
</form>
If you have more questions, unless they are bugs or wishes for the plugin, post them to DokuWiki User Forum - General Help and Support - Plugins - after checking whether questions like this have been asked previously (this one has).
<form>
textbox "Nom de la documentation" @
action template templates:"@@Templates@@"
Select "Templates" "tpl_prodcs|tpl_log"
Fieldset
Submit "OK"
</form>
Great ! It work ! ^^
Is it possible to add a presentation name for dropdown list ?
tpl_prodcs = Template for production tpl_doclog = Template for logiciel