[pmwiki-users] printing
Patrick R. Michaud
pmichaud at pobox.com
Mon Jul 17 16:55:56 CDT 2006
On Sun, Jul 16, 2006 at 10:36:52PM -0500, JB wrote:
> I have a simple wiki setup at url:
>
> http://wiki.bybent.com/guitarstuff/guitarstuff.php?n=America.VenturaHighway
>
> So when I click the "print" hypertext link in the
> upper right corner it would go to a print page without
> the menu on the left. It had headers and footers though,
> so I modified the print.tmpl so they are gone now.
>
> What I want is to have the rest of the page display
> EXACTLY like it does in normal mode, but I find
> there are variations - like the font changed or other
> discrepancies. I tried connecting the same css files
> and that made small improvements, but things are not
> the same as they are on a normal web page.
>
>
> Is there a way to make the page look the same for printing
> and just get rid of the menu on the left?
Sure!
## Get ?action=print to use default 'pmwiki' skin
$ActionSkin['print'] = 'pmwiki';
## Disable sidebar for ?action=print
if ($action == 'print') { SetTmplDisplay('PageLeftFmt', 0); }
Pm
More information about the pmwiki-users
mailing list