Project:Hierarchical Select
Version:6.x-3.5
Component:Code
Category:support request
Priority:normal
Assigned:Wim Leers
Status:closed (fixed)

Issue Summary

Thanks for the great module.

Could you check if I am wrong or not^
I need that HS will load on 3 from 5 sublevels. In this case- my hooks looks like

function my_load_to_options($vid) {
  $tree = taxonomy_get_tree($vid,0,-1,3);
 
   return $tree;

...........................
'#options' => my_load_to_options($vid),
...........................
}

but nothing changed... and HS still loading full tree...

any help apreciated....

Comments

#1

Assigned to:Anonymous» Wim Leers
Status:active» postponed (maintainer needs more info)

Ehm … #options is not used by HS. So clearly that won't have the effect you're looking for.

The hs_content_taxonomy implementation supports limiting the depth. But that is not yet ready for D6: #342992: Port HS support for Content Taxonomy to Drupal 6. I'll accept patches or sponsorship to support this in hs_taxonomy as well.

#2

Status:postponed (maintainer needs more info)» closed (fixed)

Closing due to lack of response.

#3

Status:closed (fixed)» active

As I understand HS support for Content Taxonomy to Drupal 6 is ready.

So is it possible to limit depth of taxonomy terms for HS?

#4

Version:6.x-3.x-dev» 6.x-3.5

#5

Status:active» closed (fixed)

sorry, just found this option, that is already implemented