Page 1 of 1
[SOLVED] Modify page for printing
Posted: Sat Oct 09, 2010 12:54 am
by Stryker777
I have a page that has its own search in it. When printing the page with the print button, it comes up with the search bar as expected. I was wondering if there is a variable I can check to know when it is printing so I can not display the search bar? I checked for $_GET['mact'] but it never shows up to the script when the print button is pressed.
Thanks
Re: Modify page for printing
Posted: Sat Oct 09, 2010 6:37 am
by wdberatung
did you try to set that CSS element to "display:none;visible:none;" in the CSS-printsheet?
Re: Modify page for printing
Posted: Sat Oct 09, 2010 11:04 am
by Stryker777
No, I have not. I will try that now. Thank you

Re: Modify page for printing
Posted: Sat Oct 09, 2010 11:15 am
by Stryker777
That worked perfectly! Thank you

I never even noticed the "Override print stylesheet" before.
Re: [SOLVED] Modify page for printing
Posted: Sat Oct 09, 2010 11:16 am
by wdberatung
Great that it works!