I would like to see a feature in the Hierarchical Select to switch of the animation and just display all dropdown select boxes. I think a lot of users don't really need the flyout effect and would rather have a static form that gets updated dynamically. But when the first dropdown loads, the child dropdowns should actually have a label considering there is no selection on the first box yet. I'm trying to figure it out myself, but my coding skillz are not up to this complicated module.
If anyone is interested in helping out a patch or to sponsor Wim to add this feature please post your thoughts. I'm willing to sponsor a part of this feature request since I am really eager on implementing it in my website. Hope you fella's are eager too :)
Shout out...
Comment | File | Size | Author |
---|---|---|---|
#2 | Hierarchical-static-select-dynamic-update.gif | 7.43 KB | FrUitCaKe.be |
Comments
Comment #1
Wim LeersDo know that the animation has a function. It indicates what is happening. Personally, I could understand that you would make the animation faster (and that can be configured), but removing it makes no sense.
I'm not sure what you mean by "But when the first dropdown loads, the child dropdowns should actually have a label considering there is no selection on the first box yet. ". Mock-ups could help here I think.
Comment #2
FrUitCaKe.be CreditAttribution: FrUitCaKe.be commentedI know, I've been messing around with the animation. But can't seem to figure out how to just display all forms on load. I've attached a screenshot to explain myself a bit better why all labels should be entered (especially when user is forced to select the deepest term). When all dropdown selects are displayed on load, the child dropdowns won't contain any terms yet so they need to have a label provided. Otherwise I guess there would come "none" in the box.
The reason I wan't to display all boxes on load is to give the user an idea of how many items he has to select and what needs to be selected. Personally I think it's cleaner that way. I do really like your module and if don't succeed in altering it to my needs, I will use the animation anywayz:) But I'm shure more people are in need of a static select.
I also give an example of of a wordpress select-chain plugin without any (internal) labels:
Select Chain Example
Comment #3
Wim LeersNow I understand what you're requesting, and that can indeed make sense.
In any case, it seems people want more power: sometimes they want a level to be an autocomplete instead of a select. Sometimes they want what you're asking here.
If I ever manage to work on HS 4, I will write it in such a way that you can define the widget for each level.
Comment #4
joya CreditAttribution: joya commentedI like Your Module and how it works! It would be great to have a opportunity to deactivate those animation and drags od dropdowns, and just show all levels immediately in one line!!!
Whan are You intending to solve this issue? Whan comes HS4 out?
Thanxxxxx a lot!!!
Comment #5
Wim LeersMarking for HS4.
Comment #6
Wim LeersTagging for HS4. Will be included in the HS4 roadmap: http://drupal.org/node/1052670.
Comment #7
klonosThis will happen in the 7.x branch.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedany news about that feature? maybe one can provide a small hack to disable animation?
Comment #9
Wim LeersYou can easily disable the animations, but that doesn't mean all levels will be visible at the same time (unless you're using "enforce deepest").
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedcould you please tell me how this can be done? a have a taxonomy structure like this:
- toyota
--camry
--altezza
--avensis
-honda
--civic
--accord
--cr-v
Comment #11
Wim LeersYou'd have to modify HS' JavaScript.
Comment #12
Liliplanet CreditAttribution: Liliplanet commentedHi Wim, please would you be so kind to explain 'you have to modify HS javascript' to remove the animation.
Finding that users on slow connections (in Africa) do not wait for the javascript to load and then naturally receive an error on submit.