[Pmwiki-users] New user ...
Patrick R. Michaud
pmichaud
Sat Feb 21 19:06:55 CST 2004
On Sat, Feb 21, 2004 at 08:56:58PM -0500, Bob Dively wrote:
> Patrick R. Michaud said:
>
> > Hmmm, I'm sorry to hear that you're lost, but let's see if I can help
> > out a bit. To change the layout, one simply sets the value of
> > $PageLayoutFmt[] and $PageSkin variables in a file named
> > local/config.php. So, I built a sample layout for you (and others on
> > the listserv) and will use it as an example of the process. You can see
> > the finished product at http://www.pmichaud.com/wiki/PetWiki/HomePage
>
> Ok, I'm impressed. That's pretty damn cool and fairly powerful to boot.
> How did you get the skin to be different for just the PetWiki group?
> Something like if ($Group == 'PetWiki') $PageSkin = 'allcritters' in the
> config.php file?
Pretty close... local/PetWiki.php simply does
<?php include_once("local/skins/skin-allcritters.php"); ?>
and local/skins/skin-allcritters.php does the rest (it's the file
I sent in the previous email).
Pm
More information about the pmwiki-users
mailing list