Jump to:
| Project: | Node Auto Term [NAT] |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Good idea.
#2
#3
#4
If I am correct there is option to change path to NAT node. So urls to terms can be rewritten to NAT node.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.