[pmwiki-users] Skins in a farm

Hans design5 at softflow.co.uk
Mon Nov 13 16:15:00 CST 2006


Monday, November 13, 2006, 10:08:31 PM, Sandy wrote:

> The documentation says I have to fill $PageSkinList myself, but I don't
> remember having to do that in my old, non-farm installation. (Naturally,
> when trying to get it to be a field (and giving up for now) of the new
> farm, that bit of it broke, too.)

Yes you need to create a $PageSkinList array:
$PageSkinList = array(
        'pmwiki' => 'pmwiki',
        'myskin' => 'myskin',
       # etc
        );

I usually do that in farmconfig.php, and load skinchange.php
from the field config.php:

include_once("$FarmD/cookbook/skinchange.php");



Hans





More information about the pmwiki-users mailing list