Closed (duplicate)
Project:
Printer, email and PDF versions
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2006 at 20:03 UTC
Updated:
27 Aug 2007 at 11:05 UTC
How about adding a class attribute to allow css styling of the link?
I modified the module so I could add a background image, as follows:
function theme_print_link($node) {
$attributes = array('class' => "printpage", 'title' => t('Display a printer friendly version of this page.'));
$links = l(t('printer friendly version'), "node/$node->nid/print", $attributes);
return $links;
}
Comments
Comment #1
jcnventuraI have added this (the class is called print-page).
Duplicate of 103805.