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

jordipujol’s picture

sorry, my last message becomes incorrectly formatted, I repeat it,

the tags of type 
<a href="#name" 
point incorrectly to #name 
when should point to 
source_url.'/print#name'

my solution is:

Where print.node.tpl.php says:
    <base href="<?php print $base_url ?>/" />
should say:
    <base href="<?php print $node->source_url.'/print' ?>/" />
as example, i have modified that, please look in my blog,
http://jordipujol.blogdns.net/?q=node/12/print
 
jcnventura’s picture

Status: Active » Closed (fixed)

You 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.