I’m trying to unset taxonomy terms using D6 hook_form_alter. Where are the term names / tids in this dsm print $form? http://pastebin.com/kRepyEzh

I'm thinking it should be something like $form['taxonomy']['2']['#options'] but where is it in the above information and what output of hierachical select should I be amending?

I have gone through hierarchical_select.module again and again, but can't work out whether I need to be amending the results of $storage or $elements or $hsid or any of the other variables.

I just need to know how to apply the results of this db_query in my custom module code which you can see here: http://pastebin.com/KDzXuxMz

Can anybody please help?

Comments

kingnutter’s picture

Apologies. This is the more complete custom module code:

http://pastebin.com/RbwKB0rt

kars-t’s picture

Status: Active » Closed (won't fix)

Hi

this is 2 years old and I believe "How do I exclude terms from HS" is already asked somewhere else. So I close this a "won't fix". Feel free to reopen the issue if you still need help and have new insight.