[dokuwiki] Specifying page template for new pages in URL
- From: Jason Grout <jason-doku@xxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 21 Feb 2007 14:52:01 -0700
Hi everyone,
I'm trying to make my classroom wiki easier to use for my students. I
use the namespace template to provide templates for student pages that
answer homework questions. However, this is awkward for a few reasons:
1. If student homework answer pages are in different namespaces, then I
have to copy the _template.txt file to each namespace. I can't do this
directly because dokuwiki creates the directories, so I can't just copy
things around on the server. I know how to work around this, but it's
just awkward (right now I use PHPShell to work from the commandline as
the webserver).
2. If the homework answer pages are in the same namespace, but require
different templates, it's not possible to use the namespace template
feature.
It would be nice if I could specify a template to use in the URL. Then,
for example, the addnewpage plugin could be modified so I could write
something like:
To submit homework assignment 2, type a page name here and press the
"Add Page" button:
{{NEWPAGE>:homework: | template=:homeworktemplates:homework1}}
Is there a way to specify in the URL a template to use when creating a
page? I'm thinking of something like:
doku.php?id=:homework:problem20&do=edit&rev=&template=:homework:homework2
Thanks,
Jason
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Specifying page template for new pages in URL
- From: Gerry Weißbach
Other related posts:
- » [dokuwiki] Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- » [dokuwiki] Re: Specifying page template for new pages in URL
- [dokuwiki] Re: Specifying page template for new pages in URL
- From: Gerry Weißbach