By somes on
I’ve tried looking at the api functions but I can see to be able to use the hook_link_alter on the comments node any one any input even changing the taxonomy term isn’t working
[code]
function hook_link_alter(&$links, $node) {
foreach ($links as $module => $link) {
if (strstr($module, 'taxonomy_term')) {
// Link back to the forum and not the taxonomy term page
$links[$module]['href'] = str_replace('taxonomy/term', 'forum', $link['href']);
}
}
}
[/code]
Comments
I've created a custom module
I've created a custom module but still no luck