I'm attempting to print a non-node page (a view) with the print_mail module by including a link to /printmail in the view header. Theoretically this is supported because the print_mail_form() callback looks for the URL to email in $_SERVER['HTTP_REFERER'] if no nid is sent in the path. However, it fails because the code in that module does not consider GET parameters (or fragments for that matter). I've created a patch which makes use of drupal_parse_url() to properly maintain any GET params and fragments. Will post shortly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamesharv created an issue. See original summary.

jamesharv’s picture

jamesharv’s picture

Status: Needs work » Needs review