dokuwiki-plugin-dw2pdf
dokuwiki-plugin-dw2pdf copied to clipboard
possibility to define different templates for namespaces
I would like to define different templates for each namespace. We have a campus wiki and namespaces for each department. Now we have a request from one department who wants to define a seperate template for their namespace. How/Where can I do this?
Edit: I don't mean the URL-parameter &tpl=TEMPLATENAME. I want to use it via settings or something to set a template by default for a namespace.
Who has idea in what for format such a namespace - template relation can be stored?
I don't like to redo too much...
Just a field with comma-separated list? e.g.
name-space_n.ame templatename,ns2:part3:etc templatenr2
Sofar the easiest place to add the pdftemplate is for ?do=export_pdf in the link generation for the pagetool button (so actually just automatically adding &tpl=templatename to url).
For the bookmanager a pdftemplate selection should happen via its interface.
For namespace exports ?do=export_pdfns it should be added to the manually built link.