[pmwiki-users] Print Skin

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 2 14:18:48 CDT 2007


On Mon, Apr 02, 2007 at 07:09:37PM +0000, Sandy wrote:
> PmWiki/SkinTemplates already has:
> 
> if ($GLOBALS['action'] == 'print')
>   LoadPageTemplate($pagename, "$SkinDir/print.tmpl");

This allows a skin to choose a different template based on the
action, but $ActionSkin currently takes precedence over this,
so that ?action=print would cause the 'print' skin to be loaded
before any custom skin is chosen.

Pm




More information about the pmwiki-users mailing list