WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Printer friendly view / page
(1/1)
solbu:
First things first, let me explain what i am NOT asking about:
* I do Not want any javascript. (Security reasons)
* I do Not want to open the printer dialog, the one that actually send the page to the printer when the user clicks OK.
* I am Not talking about the printer preview dialog that all modern browsers have.I have searched the forum, and have read quite a bit of the discusions regarding this.
To give a specific example of what I mean, I want to do what this page has managed to perform:
http://start.websitebaker2.org/en/introduction.php. They have a PRINT-link on the page. On that page, If you add "?css=print" on the end of the url, a printer friendly webpage is opening, not a printer (preview) dialog asking if you want to actually print the page, using no javascript of any kind to do the magic.
How do i enable the same on the andreas09 template?
I have added the meta tag that is required. (<link rel="stylesheet" href="<?php echo TEMPLATE_DIR; ?>/print.css" type="text/css" media="print" />) When we use the printer preview dialog, the page is displayed correctly.
We want that other websites sould be able to link directly to the printer friendly version, using www.example.tld/pages/blahblah.php?css=print. But as it is now, that does Not work.
We are using WebsiteBaker 2.7, latest version.
crnogorac081:
that printer page looks great..can someone reveal the code for this please ?
Navigation
[0] Message Index
Go to full version