Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-3.0-rc7
Component:
Code - Taxonomy
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2009 at 09:35 UTC
Updated:
5 Jun 2009 at 10:20 UTC
i'm building a site with nearly 900 terms. to assign the terms i use HS, which provides the best usability in handling this amount of terms. the simplified structure looks like this:
term1
-term2
--term3
---term4
----term5
now i want to automatically assign all child terms to the node, when the parent term is chosen. for example when the node is tagged with term1 it would be automatically tagged with term2, term3, term4, term5 and all other subterms - you can say the opposite of term lineage.
could this be managed with HS and how? this feature is crucial for ending my project, so any help would be appreciated.
i'm also willing to pay for a customization of the module.
thanks in advance
Comments
Comment #1
wim leersThis should be done in the submit handler of the form. In there, you should simply update $node->taxonomy with all terms you'd like to add.
This is not something that should be implemented in HS itself.
Comment #2
gaia commentedHi Wim,
thanks for the reply. I'm not a developer, and my knowledge of php is not so good. So could you please specify, where and what to do.
BTW thanks for this great module.
Comment #3
wim leersI don't have the time to help everybody. You'll have to learn it yourself. You can ask for help in #drupal though.
Comment #4
gaia commentedok. i understand, thanks.