New Podcast

Posted Tuesday, January 31 at 3:28 pm
  Thomas Turnbull (tom_o_t on drupal.org) and Alan Palazzolo (zzolo on drupal.org) join Mike Anello to talk about their new book from O’Reilly Media, Mapping with Drupal. Mike’s usual co-hosts, Andrew and Ryan, were both unable to participate in the podcast, leaving Thomas and Alan subject to Mike’s long-winded (but extremely interesting by some accounts) questions.
Download Podcast 73
DrupalEasy_ep73_20120131.mp3
Syndicate content

NEWSLETTER

Stay informed on our latest news!

Syndicate content

Testimonial

Thanks for a well-organized, straightforward, and information-packed workshop. Thank you for covering the basics so concisely and clearly. It was a good experience for me. I'm looking forward to taking more workshops from DrupalEasy.

Who are we?

DrupalEasy is the collective expertise of Ryan Price and Michael Anello, who joined forces to provide training and consulting services worldwide. Read all about them and what they can do.

What is Drupal?

Drupal is a free, super-powerful content management system for sites that require information posting and collection, including blogs, forums, videos, photos, and databases of information. We think it is the best platform available. Here's why...

Why Drupal?

More and more savvy organizations are going with Drupal for content management, and its no mystery why. It’s free, flexible, and easy to maintain for small or large volume sites. Learn more...

Exposed Filters on Block Views

Exposed filters in Views are a wonderful thing. They allow your site visitors the ability to dynamically alter a view to suit their needs best. But what happens when you display your view in a block?

Exposed filters on View pages use URL querystring variables to pass the filter variables back to the server, but when your view is displayed in a block, this isn't possible.

Luckily, with Views 2, there's a supereasy work-around. Simply set the "Use AJAX" option to "Yes" in your view's "Basic settings" and your exposed filters will magically appear in your View blocks. Instead of utilizing the URL querystring to pass exposed filter variables around, the "Use AJAX" option does everything behind the scene and not touching the URL.

Trackback URL for this post:

http://drupaleasy.com/trackback/338
Your rating: None Average: 4.8 (16 votes)

More Quicktips


2 comments

Guest wrote 29 weeks 5 days ago

Ahhhh! Why is this not in

Ahhhh! Why is this not in Views docs/inline help? Just wasted a bunch of time trying to figure out why my filters were not working for blocks!

Thanks for the tip!

Yuriy / yuriybabenko.com

Guest wrote 1 year 37 weeks ago

Turn off "Exposed form in

Turn off "Exposed form in block". The form will appear in the same block rather than a separate one, and then it will work correctly.

Guest wrote 1 year 48 weeks ago

Hi,

AJAX isn't working on block views, it just brings you back to the homepage. How do you get around that ?

Syndicate content