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.
the tags of type
$base_url#name
when should point to
$node->source_url.'/print#name'
my solution is:
Where print.node.tpl.php says:
print $base_url /" />
should say:
print $node->source_url.'/print' /" />
as example, i have modified that, please look in my blog printer friendly page,
http://jordipujol.blogdns.net/?q=node/12/print
Comments
Comment #1
jordipujol CreditAttribution: jordipujol commentedComment #2
jcnventura CreditAttribution: jcnventura commentedYou were slightly off. The solution is to use node->url and not source_url as this would make the new links point to the original page's name tags.
I have fixed this in HEAD.