I'm trying to edit the list of links that appear at the end of each node by doing...

function mytheme_preprocess_node( &$vars )...

However the contents of $vars['links'] is a string of all the links rendered down to HTML.

Is there anywhere else I can tap into the preprocessing chain to get at these links while they are still individually addressable?

Cheers,

Roger.

Comments

Jeff Burnz’s picture

use either devel or suggest installing the comtemplate module, this actually very useful for digging into the node object and pulling out vars.