Skip to content
INSTALL.txt 1.49 KiB
Newer Older
********************************************************************
                     D R U P A L    M O D U L E
********************************************************************
Name: Print module
peter john hartman's avatar
peter john hartman committed
Maintainer: Peter John Hartman <peterjohnhartman at gmail.com>
Author: Matt Westgate <drupal at asitis dot org>
********************************************************************
INSTALLATION:

1. Place the entire print directory into your Drupal modules/
   directory.


4. To modify the template of printer friendly pages, simply edit the
   print.tpl.php file found in this directory.
km's avatar
km committed

********************************************************************
PROFILE PRINTING

To print any profile page, change any profile URL from:

  http://www.example.com/profile

to

  http://www.example.com/print/profile

km's avatar
km committed
********************************************************************
CUSTOMIZATION:

- To print the site logo add this line to print.tpl.php:
<img src="<?php print theme_get_setting('logo'); ?>" alt="logo" border="0" />

- Though it is not recommended to open links in a new window you can change
theme_print_link() in print.module if you really want to force it:

function theme_print_link($node) {
  $attributes = array("target"=> "_blank", "title" => "Display a printer friendly version of this page.");
  $links = l(t('printer friendly version'), "node/$node->nid/print",$attributes );
  return $links;
}