On 3/17/06, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Mar 17, 2006 at 12:53:48PM -0600, Patrick R. Michaud wrote:<br>&gt; On Fri, Mar 17, 2006 at 07:38:28PM +0100, noskule wrote:<br>&gt; &gt; hi list<br>&gt; &gt; How do I setup a rule that a pagetemplate&nbsp;&nbsp;will be used if the pagename
<br>&gt; &gt; is &quot;GroupConfiguration&quot; ?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;$EditTemplatesFmt = 'Site.{$Name}Template';<br><br>Yes, just one line!<br><br>This will look in the Site group for a template page matching<br>the name of the current page.&nbsp;&nbsp;Thus 
Site.GroupConfigurationTemplate<br>would be used for any page named &quot;GroupConfiguration&quot;,<br>Site.HomePageTemplate would be used for any page named &quot;HomePage&quot;, etc.<br>Of course, if there's no matching Site.*Template page, then
<br>no template is used.</blockquote><div><br>
This is dynamite.&nbsp; Then is this doable now, or would any wizard care to concoct the code for: <br>
<br>
<a class="varlink" href="http://universal21.emergencydigital.com/PmWiki/EditVariables#EditTemplatesFmt"><code class="varlink">$EditTemplatesFmt</code></a> = 'Site.*{$Name}Template';<br>
</div><br>
So that I can create Site/FooTemplate, and then when, in any wikigroup,
someone creates pages AFoo, BFoo, and CFoo, the *Foo template is
applied to all three?<br></div><br>