Closed (fixed)
Project:
Finder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2009 at 17:07 UTC
Updated:
2 Aug 2012 at 04:21 UTC
Is it possible to filter the view as you type? If you have text field with a view displayed below it, can you update the view's contents as you type?
You can see this type of things with table row filters.
Here is an example:
http://gregweber.info/projects/demo/flavorzoom.html
Comments
Comment #1
danielb commentednope
Comment #2
danielb commentedThe reason I'm keeping this issue open is because it would be cool if that was possible. I really don't see it happening with the results as a whole because of paging, multiple elements, and other potential complications. I do think it would be possible to create something like this as a Finder Element with a form widget that is a hybrid of autocomplete and select lists and an ajax table thing.
Then you just need an option to remove the submit button, and some extra styles, to replicate that form exactly.
Comment #3
danielb commentedI'm adding an option to hide submit buttons in the next version. One step at a time I guess.
Comment #4
gmclelland commentedHere is another example: http://freefreeze.biz/newUI.html
It is provided by this module:
http://drupal.org/project/dynosearcho
Is it possible to recreate the live search that is shown in the video with Finder?
Comment #5
danielb commentedThanks mate I'll check out that module soon.
Comment #6
gmclelland commentedHere is another example.
http://plone.org/products/plone/features/3.0/existing-features/livesearch
In case your interested.
Comment #7
parrottvision commentedI am guessing you mean like drupalmodules website? The module finder?
Comment #8
danielb commentedComment #9
danielb commentedComment #10
danielb commentedI've been thinking that this sort of project could be useful for a whole bunch of modules, not just finder. I wonder perhaps a module can be made to convert select lists into something like this on the fly. That might be worth looking into!
Comment #11
danielb commentedok scratch that, i've seen some of your other examples and I think i've got the wrong idea, it would be better to ajax the results based on typing in a textfield - might be a nice addition to the finder text module... just have to work out the nicest way to implement it.
some of your examples are achievable just with a themed autocomplete - but I do realise I need to provide more options for that too
still the thing I was talking about could be alright too
Comment #12
mpaler commentedWondering how exactly one might theme the autocomplete dropdown...
Answer:
read the finder_autocomplete.module
Comment #13
danielb commented@#12: also follow the documentation link on the project page for this module
Postponing this issue for now as we need to get some more basic features working better first.
Comment #14
danielb commentedComment #15
danielb commentedMy new plan for this is as follows:
- Have the results() function (?) regardless of the setting "Show results" output a container, which can be updated via ajax.
- Create a callback to update the results based on form_state or whatever
- Have an option to load the results via ajax rather than together with the page load.
- Have an option to update the results when the form changes... then come up with a whole bunch of triggers to facilitate this.
I can't help but think that this is going to get abused by people with complicated finders and complain it's too slow, but oh well..
Comment #16
danielb commentedComment #17
danielb commentedComment #18
danielb commentedsolved