Page 1 of 1

Header and footer on print page

Posted: Thu Oct 12, 2006 6:47 pm
by Ylle
Hi!

I would like to add a logo and some text that tops all print pages generated by {print}. Maybe also a footer with some copyright notes. Is it possible to do that and if so, how?

/Ylle

Re: Header and footer on print page

Posted: Thu Oct 12, 2006 7:43 pm
by Dee
That would require modification of the file lib/content.functions.php.
The code for the print function starts at line 387 (within a else if (isset($_GET["print"])) statement) and the HTML printed is assigned to $tpl_source (lines 396 and 412).