Drupal 6 - Get node->links in blocks
I want to display $node->links in a block, but node_load only loads the node object without the links. How do I get the 开发者_JAVA百科links?
Well, node links are pulled by hook_link() so you could do:
$links = theme('links', module_invoke_all('link', 'node', $node, $teaser));
Will this module help? http://drupal.org/project/link_node
精彩评论