Hi,
I am using Content Taxonomy Fields. Users can check any number of check boxes with taxonomy terms that apply. However, I want to force the users to select only the child items (make all parent items unselectable), just like how it is set up for Drupal.org site's forum. Can someone please let me know how this can be done? I tried looking for the solution myself with not much luck..
Thanks.
BB
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | content_taxonomy_autocomplete-1.patch | 1.63 KB | skilip |
Comments
Comment #1
blueblade commentedanyone?
Comment #2
cygii commentedI have the same problem. Hard to find anything about this. Unbelievable !!!! I've no idea how to make hierarchy like :
-Voculabury -------- (CCK Taxonomy Fields -- Select List)
-- Term 1 (users cannot select in CCK form)
----Term 1A (-||- can select)
----Term 1B (-||- can select)
-- Term 2 (users cannot select in CCK form)
----Term 2A (-||- can select)
----Term 2B (-||- can select)
Anyone help ?
Comment #3
zeezhao commentedIf you use http://drupal.org/project/hierarchical_select it has an option to force users to select at the deepest level.
See my post here: http://drupal.org/node/794696#comment-2997214
Comment #4
cygii commentedFine, but if I want back from Term1A(sub) or Term1B(sub) to Term1(category) I don't see anything inside, none of subcategory there. Option of Content Taxonomy Field "Save values additionally to the core taxonomy database table" - checked!
Comment #5
karens commentedThat's a question for Content Taxonomy, not CCK.
Comment #6
magnus commentedComment #7
zeezhao commentedPlease is there now an alternative way of doing this in CT as opposed to using hierarchical_select? This is still required as hierarchical_select cannot be put into a multigroup. Thanks.
Comment #8
clashar commentedsubscribe,
I have the same problem to not use HS because of it's incompatibility with Multigroup.
And I need to chose only child terms. Or maybe at least to show only child terms.
Comment #9
skilip commentedFor the Autocomplete widget I've created a patch. The form element in the widget settings form will probably need some more love.
Comment #10
clashar commentedskilip,
thanks for the patch, it worked well for me.
Comment #11
chuckbar77 commentedsubscribing
Comment #12
adelka commentedIs there a patch for 7.x-1.0-beta1 also?
Comment #13
zeezhao commentedPlease did anyone solve this for D6 i.e. force child item in "Select List" (not autocomplete)
Comment #14
ruhaim commentedThough this is somewhat an old request, I still see this valid
I managed to get this through Term reference View after installing the 'views_term_hierarchy_weight_field' https://www.drupal.org/project/views_term_hierarchy_weight_field