Moodle does not yet have a print view button so that page content can be printed without additiona unnecessary web page content.
The following removes some unnecessary webpage content (but NOT all !) so that pages can be printed.
theme/standard/meta.php
Add the following line:
<link rel="stylesheet" type="text/css" media="print" href="<?php echo $CFG->httpswwwroot ?>/theme/standard/print.css" />
Then create and save a new file:
theme/standard/print.css
#header, #footer, .navbar {
display: none;
}
/* fix for printing long tables in Firefox */
table, td {
height: 100%;
}
Alternatively, content can be manually copied from the web page and pasted into a wordprocessor such as MS Word and printed from there. The page format in MS Word is often wastefully formatted and difficult to edit.
Found at: http://tracker.moodle.org/browse/MDL-10152
No comments:
Post a Comment