[Pmwiki-users] Feature requests (switch template, append text/mail to wiki)
Steven Leite
steven_leite
Wed May 12 09:56:15 CDT 2004
> So I would like to suggest a session
> variable to define which template is being used by a browser, as well
> as allowing some type of link that will change that variable (change
> "template-a.tmpl" to "template-b.tmpl" for that session, and maybe
> allow someone to put that in a link to the wiki so they never have to
> deal with the annoyance ;) ).
That already exists (I think). Just add:
&setskin=nameofyourtemplate
or ?setskin=nameofyourtemplate
(depending on the configuration of your server).
Also I'm not sure if this works "straight out of the box" .. I'm using
easytemplate.php add-on that I wrote so there's no mucking around -
everything just works.
I create two directories:
pub/skins/templatea/templatea.htm, and
pub/skins/templateb/templateb.htm.
Now I can either
&setskin=templatea
or
&setskin=templateb
-S
More information about the pmwiki-users
mailing list