Another example is adding the following in node.tpl.php
This example replaces the words “Printer-friendly version” with “printer.png”
<?php $links = str_replace('>Printer-friendly version<', ' title="Click to view a printer-friendly version of this document."><img src="images/printer.png"><',$links); ?>
Posted by lgm on Wednesday, 9 April, 2008 - 18:36.
Great idea!
Another example is adding the following in node.tpl.php
This example replaces the words “Printer-friendly version” with “printer.png”
<?php$links = str_replace('>Printer-friendly version<', ' title="Click to view a printer-friendly version of this document."><img src="images/printer.png"><',$links);
?>