In the case, when terms are redirected to another url, the hook_link_alter part, where the term's id is extracted from the link's href fails (because the path no longer starts with 'taxonomy/term').

Comments

Zen’s picture

Status: Active » Postponed (maintainer needs more info)

I don't get it - is this when some other module alters the link before the NAT module?

Anonymous’s picture

Yes. For example if I want all terms to point to a certain view, I can't use NAT.

alexiscott’s picture

I too, am using the taxonomy redirect module, and encountered this conflict/issue.

I am temporarily patching my nat.module with this:

function nat_link_alter(&$node, &$links) {
   if (!module_exists('taxonomy_redirect')) {
...
  }
}
Zen’s picture

I see the issue. But, you should be able to solve this by just adjusting the weights of the modules in the system table. The link_alter feature in NAT, is also optional. You can always just turn it off for the vocabularies in question.

Thanks,
-K

Zen’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.