I would like to be able to filter all of the content on my site using checkboxes which send ajax requests when clicked. Can anyone point me in the right direction for this. An example of what I am looking to do is here:

http://www.nature.com/scitable/nated/search?action=simpleSearchAction&aj...

With the "Filter By" nav on the left.

Is this possible in Drupal?

Thanks!

Comments

WorldFallz’s picture

It's easy to do with d6 and the views module with dropdowns-- i've no clue how difficult it would be to do it with checkboxes.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

jmunning’s picture

It looks like I would need this patch?

http://drupal.org/node/115949

If it says Version: 6.x-2.x-dev does that mean if I upgrade to version 6 it will be supported or do I need to upgrade to the dev version?

Thanks!

WorldFallz’s picture

That's already been committed-- and what drives the drop down ajax loading I mentioned above. I've not seen it with checkboxes though.

EDIT: just found http://drupal.org/node/338156 -- doesn't look like it's going to be added either. Though there is the http://drupal.org/project/betterselect module which may work.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

jmunning’s picture

Thanks for the help. I just checked my modules and found that I can't yet upgrade to 6 b/c some aren't supported. Is there anything I can use for 5 that would support the dynamic ajax filtering?

Thanks again.

WorldFallz’s picture

Sorry, unfortunately no. This was one of the things that knocked my socks off with views2.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz