[Pmwiki-users] Feature requests (switch template, append text/mail to wiki)
Crisses
crisses
Wed May 12 10:09:14 CDT 2004
Oh, okie, that looks good. Didn't know it was a variable. That's
terrific :)
heh
one down, several more to go! :)
THANKS!
Crisses
On May 12, 2004, at 10:05 PM, Steven Leite wrote:
>
>> 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
>
>
>
> --
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
More information about the pmwiki-users
mailing list