Printer Friendly Reports

Printer Friendly Reports

by Barry Oosthuizen -
Number of replies: 2
Here's how to make your grade reports and a lot of other pages in Moodle printer friendly without tons of code.

I don't like buttons & tabs on my grade reports so I added some CSS to get rid of it. You can add it to the end of your theme or the standard theme's styles_layout.css (or whatever it's called) file.

You can remove/add any bits as you please. It works for me on Firefox 3 and IE7, haven't tested others.

@media print
{
#header-home,
#header,
h2.headingblock,
.headermain,
.headermenu,
.navigation,
.navbar,
table.navbar,
.navbar,
.breadcrumb,
#footer .navbar,
.reportlink,
.navigation,
#navmenupopup option,
#navmenufooterpopup option,
#footer,
.homelink,
.sitelink,
.performanceinfo,
.tabrow0,
.sideblock,
form.popupform {
display: none
}
}