Have a page - using the sunflower theme.

For a node - the code in the theme calls:

if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) {
    $output .= '<td style="text-align: right;">' . theme("links", $taxonomy) . '</td>';
  }

This generates a list of links to terms

term1 | term2 | term3

I'd like exactly the same list - but the URLs instead of being

/taxonomy/term/id

to be changed to

/myview/id

I'm not sure how best to go about this. Sunflower appears to be a php based theme rather than a php template based one.

Hints?

Comments

venkat-rk’s picture

There used to be a taxonomy redirect module that let you redirect a taxonomy url to any url you chose. I am not sure if it works in 4.7. The only disadvantage is that it works on a per vocabulary basis, not on an individual term basis.

chrissearle’s picture

Hmm

Well - I've found a hack

If you clone your view (/myview) and set the URL to be taxonomy/term - then it takes over for taxonomy/term

Seems wrong though

EDIT: yes - it is wrong - of course - it only works for the one view - any vocabulary that is not in that view then breaks

chrissearle’s picture

And the CVS taxonomy redirect is the PERFECT solution for me :)

venkat-rk’s picture

That's great to hear:-)