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...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Component: Code - Taxonomy » Code
Status: Active » Postponed (maintainer needs more info)

Do 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.

FrUitCaKe.be’s picture

I 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

Wim Leers’s picture

Title: Hierarchical Select (Animation switch + all level labels for force deepest select) » Statically display all levels: no animations, no incremental level display
Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Postponed

Now 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.

joya’s picture

Issue tags: +animation, +drag

I 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!!!

Wim Leers’s picture

Issue tags: -animation, -drag +HS4

Marking for HS4.

Wim Leers’s picture

Tagging for HS4. Will be included in the HS4 roadmap: http://drupal.org/node/1052670.

klonos’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev

This will happen in the 7.x branch.

Anonymous’s picture

any news about that feature? maybe one can provide a small hack to disable animation?

Wim Leers’s picture

You 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").

Anonymous’s picture

could 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

Wim Leers’s picture

You'd have to modify HS' JavaScript.

Liliplanet’s picture

Status: Postponed » Active

Hi 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.