Using Views (with exposed filers) instead of Catalog

Posts: 42
Joined: 05/29/2008

Is there any way to choose which exposed filters would be displayed in which Views list? I mean other than creating individual View for each. I'm thinking about some use of arguments, something like this: www.example.com/my-views/{category8}/{vocabulary1}
System would get the category ID from the argument, for example category8 would be Notebooks and vocabulary1 would be screen size. That way if customer shows this page he would see Notebooks and exposed filter for screen size. So if he want, he could choose to filter only notebooks with certain screen size.

Only flaw is that I don't know how to make arguments work this way :] Any ideas?

Posts: 28
Joined: 08/08/2007

subscribing

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Unfortunately, I'm just not sure this is possible in a single View.

There is an alternate solution that might have the sort of drill-down filtering you're looking for. This would be Apache Solr Search - http://drupal.org/project/apachesolr.

This module does require integration w/ a Java app, but I've seen it demoed on an Ubercart site and it looked pretty darn cool.

Posts: 107
Joined: 08/07/2007
Bug FinderGetting busy with the Ubercode.

Svihel,

I would avoid using exposed filters for seo reasons. We frequently use multi-argument views to create a custom catalog.

A couple pointers...

1. make sure you set the default argument to display all values. I believe the default is to return page not found.

2. You may need to add some custom argument handling code to scrub your unwanted url characters such as &.

3. Use your views header to display your filters.

4. If you do some cool views template code, you go as far as displaying your standard product node view if the filtering only yields one result.

5. Be careful, I don't believe views arguments show up in your xmlsitemap, however if you have links to the pages you should be ok.