[pmwiki-users] Admin vs user skin

Patrick R. Michaud pmichaud at pobox.com
Mon May 1 15:07:24 CDT 2006

On Mon, May 01, 2006 at 12:58:08PM -0700, Dr Fred C wrote:
> Is there a way to configure pmwiki so admins could log in and get a 
> different skin for managing the site than users?
> Several skins are better for users (fewer buttons to confuse or options 
> mess-up), while it's frequently a lot easier for admins to use a full 
> featured skin with all sorts of editing options (sort of like are 
> available in the dropdown skin for example). 

A simple way to do it is via the config.php file:

    if ($Author == 'Pm') $Skin = 'author-skin';

However,  you might also take a look at the Cookbook.ViewModes
recipe, which I believe is supposed to handle exactly this sort
of thing.


More information about the pmwiki-users mailing list