Printer Friendly LayoutUpdated: January 7th, 2015
Created: 03/01/151. make new skin [Print] with
- index.main.php : The index page is simplified to show only the post and code from _item_block.inc.php has been edited to remove unwanted calls and inserted rather than calling via php
- _skin.class.php : just modified to be recognised
- style.css and print.css: Still being worked on to get better formatting
2. Insert in /skin/myskin/single.main.php [Print] link with this code.
echo'<a href="http://' .$_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'] . '?tempskin=print" target="_blank"> <img class="print_icon" src="../../rsc/icons/print_icon.png" alt="print" title="print" /> Printer Friendly Layout </a> '
index.main needs two links to a stylesheet. (they could be the same file)
1. media="screen"
2. media="print"
For updates see http://forums.b2evolution.net/printer-friendly-layout







