2.3 MOD: Add Header and Footer to Print View
Posted: Thu Oct 06, 2011 2:24 pm
I needed to and our Header and Footer (header.txt and footer.txt) to the print view. Here's how I did it:
in print.php
Right after this code:
Add this:
And right after this code:
enter this line:
Very easy.
in print.php
Right after this code:
Code: Select all
<body onload="window.print()">
Code: Select all
<?php
include(HESK_PATH . 'header.txt');
?>
Code: Select all
echo $hesklang['end_ticket'];
?>
</p>
Code: Select all
<?php
include(HESK_PATH . 'footer.txt');
?>