[pmwiki-users] Print skins
DaveG
pmwiki at solidgone.com
Mon Oct 8 10:15:22 CDT 2007
Thanks for the information Dominique, I now have everything working,
with minimal entry required in config.php.
~ ~ David
DaveG wrote:
>
> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list