Hi all,

I like the exposed filter feature (fast loading with ajax and everything)..

now with the current feature I all results are displayed and then we can filter down the results by entering a keyword or two which is fine but I am looking for is to do thing the other way around.

I want to show the filter box with no results to filter and then when someone enters a keyword results will pop-up automatically using ajax.

I know how to use arguments and such but I would like to create something similar to exposed filters but not display a thing unless someone enters a keyword.

just like the search feature on the apple website (once you type something in the search box things start to pop)

Any idea if this can be accomplished using the exposed filter feature?

thanks in advance and regards

Comments

dawehner’s picture

The only support question regarding views i can find is, the rest is somehow a feature request, i suggest to look for existing modules

I know how to use arguments and such but I would like to create something similar to exposed filters but not display a thing unless someone enters a keyword.

http://drupal.org/node/425780 a example solution for this.

merlinofchaos’s picture

Status: Active » Fixed

Having a view not run when no flters are in use is a feature only supported in Views 3. Having exposed filters auto-submit on keystrokes is not a feature of Views, but if you hunt around enough you should be able to find a snippet of javascript code that will do this. Though I think you'll find the best example of something that does this is in the Page Manager module in CTools. I mention this because auto-submit on user typing data into an input field is takes a little extra code. The code that's there is fairly portable and can be lifted pretty easily.

It's somewhere in the back of my mind that I want to make that auto-submit feature more generally available.

These 2 comments are about the best I can offer.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.