Full hierarchy
Sisma_Net - January 22, 2009 - 00:39
| Project: | Taxonomy Navigator |
| Version: | 6.x-1.1 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | nestor.mata |
| Status: | active |
Jump to:
Description
Is it possible to view full hierarchy of category terms?
At this moment, I can see only first level links and no sub-categories.
Thanks.

#1
Will have this feature for this week
#2
I'm interesting in this issue too and create little patch for function taxonomy_navigator_block_content:
function taxonomy_navigator_block_content($vid) {$terms = taxonomy_get_tree($vid, 0, -1, 2);
...
'href' => $base_path . $term->tid,
'attributes' => array('class' => 'depth'.$term->depth),
);
if(taxonomy_navigator_is_term_active($vid, $term->tid)) {
$links[$term->tid]['attributes'] = array('class' => 'depth'.$term->depth.' active');
}
...
This patch define depth of tree in taxonomy_get_tree as 2 (it's my case) and define CSS class "depthN" for each links where N is depth of term in vocabulary. CSS classes needed for show hierarchy in right way.