Friday 26 August 2005 3:03:33 am
hi, I have copied \design\standard\print_pagelayout.tpl to my design folder and add <link rel="stylesheet" type="text/css" href={"stylesheets/print.css"|ezdesign} /> to the head. This is a copy of my normal css style; changed to printer friendly version. In my articles etc. are some parts (comments ..)that should not be printed. So I add this to the print stylesheet :
.hideprint {
DISPLAY: none } Arround the parts not be printed in pages/templated I add :
<div class="hideprint">
..... </div> A link to change to print version in new window for example : <a href={concat("/layout/set/print/content/view/full/",$node.node_id,"/")|ezurl}" target="_blank"><img src={"b_print.gif"|ezimage}></a>
|