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
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

nestor.mata - September 7, 2009 - 17:31
Assigned to:ulf.pl» nestor.mata
Status:patch (to be ported)» active

Will work on this feature this week

#2

hanschri - October 20, 2009 - 09:22

Thank you ulf.pl! This easy fix together with this excellent module solved my problem!

 
 

Drupal is a registered trademark of Dries Buytaert.