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.
Include raw URL information in the print.pages.inc's _print_var_generator function, like following:
$print["url"] = url($path, array('absolute' => TRUE));
This will allow constructing in the print template:
<a href="<?php print $print["url"] ?>">Back to page</a>
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedDone and committed to 6.x-dev
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.