[pmwiki-users] Print skins
DaveG
pmwiki at solidgone.com
Mon Oct 8 09:05:16 CDT 2007
Dominique Faure wrote:
> You could always "force" it with something like below in your own
> skin.php (directly taken from the recurve skin code):
>
> global $action;
> if ($action == 'print') {
> LoadPageTemplate($pagename,"$SkinDir/print.tmpl");
> return;
> }
>
Thanks for the suggestion regarding recurve -- I looked at a number of
skins to learn, but not that one. I've now learned a little more. :)
I actually tried using LoadPageTemplate, but only got the body of the
page, not the headers and footers that are defined in the print skin
template. I notice that recurve is including the headers and footers
explicitly in skin.php -- however, that doesn't seem to work in my case.
~ ~ David
More information about the pmwiki-users
mailing list