Posted by upupax on April 23, 2009 at 8:31am
19 followers
| Project: | Hierarchical Select |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | HS4 |
Issue Summary
Hi, I was wondering if it is possible to allow user to add to dropbox more than just one element at once.
I've been looking for an option in API.txt but I found nothing.
I'm using the flatlist module 6.x-3.x-dev on drupal 6.10.
TIA, your module is great!
Comments
#1
- How would you want to do this?
- Why would you want to do this?
#2
Like this video http://www.mediafire.com/download.php?yzzybqtzyjm .
It's a form I'm trying to develop to filter contacts and send them a message.
The first multiselect is a taxonomy form and the second is a multiselect list of nodes (this is a little list, but you have to imagine to have a big list of people).
Since this feature is really close to what dropbox actually does (and my code is full of bugs that I didn't show in the video) I thought to use the hs functionality, but I noticed there is no support for multiple selection in dropbox module.
I wonder if it could be set some how.
#3
* Why? - I'm also looking for the feature. My use case is that I need to several (child) terms, and I don't want to click on the 'Add' many times.
* How? - It could be a 'normal' multiple select
or selection with checkboxes (when I addedEDIT: I had better_select module switched on, so I saw the checkboxes.'#multiple' => TRUEin _hierarchical_select_process_render_hs_selects() I saw it already added those checkboxes).#4
subscribing
#5
subscribing
#6
Okay, I've thought about this before too.
1) *If* this makes it in, it'll be in the form of #type = select and #multiple = TRUE, *not* in the form of #type = checkboxes
2) This is a feature that will *only* be available when the dropbox is enabled.
3) It's been a while since I've been deep into HS, so I'll have to think more deeply about the possible implications of adding this.
But it'll get added. If anybody's willing to write the necessary patch (or start working on it, because it'll have to be configurable in the UI as well), I'll gladly accept your work :)
#7
Not much interest + busy + I really need to get version 3 final out = this will be for a 3.x point release.
#8
subscribing
#9
subscribing
#10
Hi,
I also think, this would be an interesting feature.
@Wim Leers: Maybe there could be 2 aspects here. One is the option to add multiple items to the dropbox and the other one is the checkbox thing. I like checkboxes, because they are very user friendly. If you use HS in an exposed filter in a view, it might not be clear to every user, that he has to select items and has to click onto the Add button each time. Afterwards he has also to click the Search/Apply/whatever Button of the exposed filter.
So in my optinion it would be create to have the dropbow on the one hand and a checkbox type on the other side. What do you think?
#11
@no2x: Adding support for checkboxes to HS would make HS' code even more complex. Plus it would no longer live up to its name. Plus it'd become a UI monstrosity.
Checkboxes are not *always* good.
I'm sorry, that won't happen for the foreseeable future. Thanks for your understanding.
#12
Did you have thoughts on how you would implement it? I'm getting persistent requests for being able to control or shift click to select and add multiple items on my site.
#13
subscribing. Control-click FTW!
#14
Subscribing
#15
This won't happen in HS 3, unless somebody rolls the patch. Sorry.
#16
Subscribing
#17
Tagging for HS4. Included in the HS4 roadmap: http://drupal.org/node/1052670.
#18
This will happen in the 7.x branch.
#19
Subscribe
#20
Subscribe
#21
Dear Wim Leers & Subscribers,
Please find the patch files for above issue. I have tested patch files and working fine with latest stable version of HS.
Comments & suggestions are welcome :-)
Cheers,
Anil Sagar,
AZRI SOLUTIONS,
www.azrisolutions.com
#22
#23
Patch Updated to fix parents getting lost while updating terms with parents.