<div dir="ltr"><p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
Hi,</p><p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
I have been fighting with this for two days now and I am sure its easy for a programmer but I am not one..</p><p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
I have an "invoice" content type and I need to have a printable version of the invoice that has a completely different layout to that of the normal node display.. So it seems the right way was to use the "print" module..</p>
<p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
I have created my "print--node--invoice.tpl.php" in the theme directory and have been trying to access the fields.. I have put "<code style="border:0px;background-color:rgb(246,246,242);font-size:0.923em;margin:0px;padding:1px;vertical-align:baseline;font-family:'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace;line-height:1.5em;white-space:pre-wrap"><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)"><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,187)"><?php print_r</span><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,119,0)">(</span><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,187)">get_defined_vars</span><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,119,0)">()); </span><span style="border:0px;background-color:transparent;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,187)">?>" </span></span></code>into the code and I see there are a whole lot of values defined but I can't workout how to access them.</p>
<p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
Can someone give me the "idiots" guide to accessing and correctly rendering the fields in the print template of the "print" module?<br>Even something simple like the ['created'] date for the node??<br>
</p><p style="border:0px;font-size:13px;margin:0px 0px 1.385em;padding:0px;vertical-align:baseline;font-family:'Lucida Grande','DejaVu Sans','Bitstream Vera Sans',Verdana,Arial,sans-serif;line-height:17.984375px">
Thanks</p></div>