<div class="gmail_quote">On Mon, Feb 9, 2009 at 4:41 PM, Steven Benmosh <span dir="ltr"><<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What
I would like to have multiple templates, and be able to choose when I
create a new page which one to use. This way, I can easily regroup the
pages based on countries, without losing the ability to match the
template to the page content.<br>
</blockquote><div><br>Since I urgently need to do something I don't want to do <g> I went ahead and tested out the form. This (below) seems to work fine:<br><br>===(snip)===<br>(:input form "pmwiki.php" GET:)<br>
Page Name: (:input text n:)\\<br>(:input hidden action "edit":)<br>(:input radio template Test.Foo:) Foo\\<br>(:input radio template Test.Foo2:) Foo2\\<br>(:input submit create "Create New Page":)<br>(:input form end:)<br>
===(snip)===<br><br>I haven't tested it in the sidebar, but I don't think it should make any difference. You may want to surround it with some sort of conditional if you don't want every user seeing this in the sidebar all the time...<br>
<br>-Peter<br></div></div>