Hello all!
I have the following problem: One of my fields for a specific content types shall have multiple (unlimited) entries from a taxonomy.
Since I like the "Hierarchical Select" very much, I did the following for my content type
1.) Created a vocabulary which shall be used by "Hierarchical Select" with the following parameters (amongst others):
- "Enable the dropbox" is enabled (Hierarchical Select section)
- "Muliple select" is enables (Settings section)
2.) Then I create my field for the content type (CCK):
- Field type: Content Taxonomy Fields
- Widget type: Hierarchical Select
So far so good:
3.) When I go to "Manage Fields" and "Edit" my new field,
- In the "Global section" the "Number of values" is 1 but disabled, so I cannot alter it
- Below there is the text "This setting is now managed by the Hierarchical Select widget configuration!"
4.) When I go to the "configure this Hierarchical Select widget's settings.", I
- first enable the "Save node lineage" and
- second enable the "Enable the dropbox"
- "Number of values" in the CCK field configuration is still disabled and has the value 1
And now my problem arises:
In the preview for my field I see the Hierarchical Select widget with an Add button, but when I try to create a node for my content type, there is no Add butten and I can store only one value from my vocabulary.
What I tried to solve:
- Change the widget from HS to a Checkboxes/Radio
- Now "Number of values" is enabled, so I can set the value to "unlimited"
- Change the widget back from Checkboxes/Radio to HS
- Now "Number of values" is disabled, but the value remains "unlimited"
==> Still no "add button" when I try to create/edit a node from this content type.
Can anybody tell me what I am doing wrong?
Thank you very much,
Leo
Comments
Find Hierarchical Select settings page
Hey,
Don't remember where exactly...but i remember there is an option like: let user add new options or something related on the
Hierarchical Select settings page.
Regards,
Hi Maozet! Well: I don't
Hi Maozet!
Well: I don't want, that the user adds new options by himself, I want that the user can select multiple values from my taxonomy
regards,
Leo
I think changing some settings will help you.
I think changing some settings will help you.Because I have the add button.
Yes, I think so as well,
Yes, I think so as well, since I once managed to do so - but I am pretty sure I did the same steps, since the preview looks correct. But I tried everything, and nothing helps :(
The number of values in cck
The number of values in cck is greyed out because the drop box is overriding that value. If u set 0 in "Limit The Number Of Selection" field in drop box it will be unlimited. If you want users to select terms based on the admin's pre-defined term you'll want to leave the "Allow creation of new terms" unchecked. Hope this is what you're looking for.
How to enable the add button
I know this is an old thread but it applies today as well, you have to enable drop box option for the add button to be shown. I would think this is automatic when someone selects unlimited. Don't know why it isn't, but hierarchical select has so many future plans I don't want to guess at a solution and create a patch that will never be used again.
Thanks for answering the
Thanks for answering the question Axiom. I'm sure you just saved me a couple hours of frustration
If your taxonomy had
If your taxonomy had Multiselectdesde the beginning, you must disable it before acttivar Hierarchical Select module.
If you activated your already Hierarchical Select, you must enter the database and change multiselect from 1 to 0.
I hope, this can help you.
Use "Simple" Hierarchical Select module.
Also had this problem with the Hierarchical Select module for unlimited values. So I tried installing a similar module called Simple Hierarchical Select (shs), and it did the job perfectly. :)