[Pmwiki-users] skin switching problem

Hans Bracker design
Tue Jan 18 13:29:38 CST 2005


Tuesday, January 18, 2005, 7:57:52 PM, Bronwyn wrote:
>   ## Set up skinswitcher
>   $PageSkinList = array(
>     'pmwiki' => 'pmwiki.tmpl',
>     'bronwyn' => 'bronwyn.tmpl',
>     'lean' => 'lean.tmpl'
>     'marathon' => 'marathon.tmpl'
>     'gila' => 'beeblebrox-gila2.tmpl'
>     'dropdown' => 'dropdown.tmpl');
>   @include_once('local/skinchange.php');

Set the array with the name spointing to the skin folders, not the
template files. Use only one template in each folder.

  $Skin = 'pmwiki';
  ## Set up skinswitcher
  $PageSkinList = array(
    'pmwiki' => 'pmwiki',
    'bronwyn' => 'bronwyn',
    'lean' => 'lean'
    'marathon' => 'marathon');
  @include_once('local/skinchange.php');

Anyway that is how it works for me, and it is different than in
Pmwiki1.

hope this helps


Hans

  


Best, 
~Hans                           




More information about the pmwiki-users mailing list