Hello,
just a quick question.
Where can I change the layout of the page generated by [PRINT] tag?
Thanks in advance!
Editing [PRINT] layout
Hi d-lexy,
try this print solution:
http://www.phpwcms.de/forum/viewtopic.p ... =print+php
It's very usable...![Wink ;-)](./images/smilies/icon_wink.gif)
Joachim
try this print solution:
http://www.phpwcms.de/forum/viewtopic.p ... =print+php
It's very usable...
![Wink ;-)](./images/smilies/icon_wink.gif)
Joachim
Re: Editing [PRINT] layout
Hi d-lexy, here:d-lexy wrote:Hello,
just a quick question.
Where can I change the layout of the page generated by [PRINT] tag?
Thanks in advance!
in include/inc_front/content.func.inc.php
around line 360/370 (depends if u messed with func.inc before
![Wink ;)](./images/smilies/icon_wink.gif)
Here is the example I used for http://www.srdu.be
Original:
http://www.piezoworks.be/srdu/index.php?fr_help
Print page:
http://www.piezoworks.be/srdu/index.php?id=5,13,1,1,1,0
Code: Select all
//if print layout should be showed
$prepend = "<div id='txt'><p align='right'>Marie-José Laloy
<br/>_____________________________________</p></div>"."\n";
$content["pagetitle"] = "Pour retrouver ce texte, rendez-vous sur www.mjlaloy.be";
$content["all"] = $prepend.$block["maintext"]."<p>__________________________________________________________________<br /><br />Venelle des Marronniers 19, 1301 Wavre 010 24 48 80 | Sénat 02 501 77 33<br />Site: http://www.mjlaloy.be - Email: laloy@senators.senate.be</p>";
//$content["main"]
$block["css"] = "print_layout.css"; //sets css to standard printing layout
}
Cheers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement