Somewhat like the option about term path for views, it'd be nice if NAT had an option to use hook_term
_path so taxonomy_term_path returns the node url when desired.

If a module other than taxonomy is set for a vocabulary, taxonomy_term_path calls _term_path and uses that url instead of the regularly one for the term path. Ie, if NAT was set as the module for vocabularies associated with a content type and had a hook_term_path implementation to link to the node corresponding to that term, anytime taxonomy_term_path is called the node url could be returned when avaliable. (if nothing returned, default term path is used).

Steps to implement:
Add option, set option
Set effected vocabulary's module to NAT
nat_term_path

Core modules and various other modules call taxonomy_term_path to get the term path, so it'd be quite a useful feature

Comments

anantagati’s picture

Good idea.

anantagati’s picture

Assigned: Unassigned » anantagati
anantagati’s picture

Assigned: anantagati » Unassigned
anantagati’s picture

Status: Active » Fixed

If I am correct there is option to change path to NAT node. So urls to terms can be rewritten to NAT node.

Status: Fixed » Closed (fixed)

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

ipwa’s picture

Can this be implemented please for Drupal 7, I don't see the option there.

ipwa’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev