I'd like an easy way to turn off certain text on the printer-friendly version. I've got a link that says "click here for a printer-friendly version" that obviously doesn't need to be there for the printer-friendly version.

Ref: http://www.thepickleballstore.com/How+to+Order+an+Item

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

The idea behind the module is to produce an accurate print version of the normal content.. So what you're asking is going against this basic principle.

However, there is a solution for your problem.. You will have to switch that node's type to PHP and insert the following:

$path = explode("/", $_GET['q']);

if ($path[0] != "print") {
  echo "your text";
} 

João

PS: edited after testing and discovering that my original solution didn't work.

jcnventura’s picture

My original solution didn't work. Please see a solution that works in the drupal.org site, in case you're only reading the mails.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info received in two weeks.

Closing the issue.