Term links not marked as active in a node page
ulf.pl - May 21, 2009 - 09:00
| Project: | Taxonomy Navigator |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | nestor.mata |
| Status: | active |
Jump to:
Description
When you are in a node that contains one or more terms unfortunately it will not mark those term links as active.
My (working) solution is simple.
The first parameter in function taxonomy_node_get_terms_by_vocabulary must be a node object, not a node id so correct 88 line in taxonomy_navigator.module is:
$terms[$vid] = taxonomy_node_get_terms_by_vocabulary(node_load($nid), $vid);

#1
Will work on this feature this week
#2
Thank you ulf.pl! This easy fix together with this excellent module solved my problem!