Hi - as far as I can tell, the selections made using this module with a field of content_taxonomy type ONLY result in the "leaf most" category being stored. Is that correct? I'm trying to do what it seems many are doing with this module - the selection of country->state/province and would like to store both selections. Can this be accomplished with the Hierarchical Select module?

Thanks for any insight.

Karim

Comments

wim leers’s picture

You're right. Only the deepest selection gets stored. That's on purpose, by the way.

You could retrieve all parents of the selected term (through taxonomy_get_parents() IIRC) though, by adding your own submit handler to a form.

kmeghji’s picture

Thanks for the info... Would be curious to hear the thinking that led to your designing this module in this fashion.

Great module!

Thanks

wim leers’s picture

The reason is that this allows you to easily go down through a hierarchy to find the thing you're looking for. It only makes sense in a very limited amount of applications to store the entire "path" (i.e. the selected item and all its parent items). Also, it's clearly mentioned in the description of this module that it doesn't support the selection of multiple items.

wim leers’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mouse77e’s picture

You could retrieve all parents of the selected term (through taxonomy_get_parents() IIRC) though, by adding your own submit handler to a form.

as i am a PHP noobie can anyone lend a hand in explainig this one to me?