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
Comment #1
wim leersYou'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.
Comment #2
kmeghji commentedThanks for the info... Would be curious to hear the thinking that led to your designing this module in this fashion.
Great module!
Thanks
Comment #3
wim leersThe 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.
Comment #4
wim leersComment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
mouse77e commentedas i am a PHP noobie can anyone lend a hand in explainig this one to me?