By Rotwang on
OK I know how to display another nodes $node->body on my current node. But how do display another node's $node->links on my node? In place of the $links that would have normally been there?
OK I know how to display another nodes $node->body on my current node. But how do display another node's $node->links on my node? In place of the $links that would have normally been there?
Comments
Getting links for another node
Borrowing code from node.module, to get the links you need something like
How/where you replace the nodes links would depend on the details of when you want to do this and where the other nodes nid comes from. For example if this for only some content type, say 'replaced_links' you could do this in the template file node-replace_links.tpl.php (replacing replace_links with your content type).
Can I do this on taxonomy
Can I do this on taxonomy index pages only? Or can I only make it specific by content types...
The short answer is probably yes
To provide more detail would require a better understanding of what you want to achieve.