Posted by zzemm on June 15, 2009 at 3:10am
Jump to:
| 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
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
Closing due to lack of response.
#3
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
#5
sorry, just found this option, that is already implemented