Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | email-urls-with-get-params-2658612-2.patch | 1.08 KB | jamesharv |
Comments
Comment #2
jamesharv CreditAttribution: jamesharv at Technocrat commentedComment #3
jamesharv CreditAttribution: jamesharv at Technocrat commented