• b2evo
  • Front Page
  • Contact
  • Login
  • reset page

Far Fields

  • Andromeda ¦ First Contact
  • Blush ¦ Private
  • Dad ¦ Private
  • Vyaj ¦ Immigration & Asylum Cases

Near Fields

  • My Bits
  • Behind the Sceanic
  • vOw ¦ Vegan Organic Wholefood

Old Fields

  • 1996 Site
  • Old Search Site

Blogs

  • b2Evo ¦ Blog techie stuff
  • eLf ¦ Updates on the land
  • blInk ¦ Some useless links
  • spAce ¦ Thoughts on being
  • j&j ¦ Prospectors of Kern
  • av0id ¦ How I Got Here

Printer Friendly LayoutUpdated: January 7th, 2015

Created: 03/01/15

1. make new skin [Print] with

  1. 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
  2. _skin.class.php : just modified to be recognised
  3. 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

  roger
print   Print     
 
  •  Paged Index of 133 Posts

  • Last nineteen

    • Add html figure tag
    • Validation 7.2.5
    • elfgifs_plugin
    • Add sub text button
    • [autocorrect] validation
    • Versions & Database
    • Math Terms & Plugin
    • My Search Hack
    • figure tag
    • evobar toolbar
    • Front Page Collections #
    • Move to a new line using CSS not <br />
    • Version 6.10.6 & php 7
    • Stuck on Version 6.10.5
    • Limit Login Attempts
    • 6.10.5
    • Add Number to Comment
    • 6.10.4
    • v 6.10.*
  • Search


Valid HTML 5.0    ubuntu link    duckduckgo link    b2evolution link    firefox link    Creative Commons Licence    Valid CSS!