In "function theme_content_taxonomy_formatter_link($element) {" the link url is set using "taxonomy_term_path($term)" which is good, except that some modules will want to alter this path (e.g. http://drupal.org/project/nat) and your method of getting the URL doesn't take this into account.
Instead, it should simply link to "'taxonomy/term/'. $term->tid" (as the core taxonomy module does) and let drupal worry about where that needs to go.
Patch attached
| Comment | File | Size | Author |
|---|---|---|---|
| content_taxonomy_links.patch | 1.84 KB | a_c_m |
Comments
Comment #1
mh86 commentedHi!
As far as I can see, the core taxonomy module uses taxonomy_term_path too (e.g. in taxonomy_link). And if we do not use taxonomy_term_path we drop support for other modules overwriting the path of terms managed by themselves. Or does this still work?
Comment #2
a_c_m commentedhumm... your right.
Not sure how to get around this - but i know the current system does not work with NAT as its expecting to overrule 'taxonomy/term/'. $term->tid not something else. Perhaps the issue is with NAT then?
Comment #3
magnus commentedReopen issue if problem still exists.