I'm not sure how to get this URL path effect.

/vocab1term1/vocab2term1/

I have two vocabularies. All nodes have one term in each vocabulary. I simply want to be able to call a page that filters and lists nodes.

For example:

Vocabulary 1 is make of car. Vocabulary 2 is body type.

I would want to list all the Chevrolet convertibles simply by structuring my URL thusly:

chevrolet/convertible/

The nodes are already properly categorized. In other words, the Mustang node is already tagged for both "chevrolet" and "convertible". I just want to be able to call any combination of make and body type configuring the URL as above. I have tried to use Views for this, but cannot seem to filter for vocab terms in this manner.

Comments

giorgosk’s picture

I am not really sure if that is all you are asking but you could use pathauto module to make the nice URLs nicer even for taxonomy terms

in the configuration of pathauto (admin/settings/pathauto)
on the "category settings" under the "default path pattern"
should be by default "[vocab]/[catpath]"
check "bulk update" (since you already have vocabularies in existance)
and save

everything else you create will have that form "vocab/catpath"

if its not exactly what you want play a little with the variable that pathauto provides untill you get it the way you want

GiorgosK
------
Good read for newbies > http://drupal.org/node/120612
Lots of Discussion and help is going on in http://groups.drupal.org/ too, join in

------
GiorgosK
Web Development

2houseplague’s picture

Pathauto allows me to set up the paths to the category. For example, cars/chevrolet

But I don't see a way to FILTER for cars/chevrolet+convertibe

http://profitlabinc.com

giorgosk’s picture

Have not tried it but I think "refine by taxonomy" module could be of help

GiorgosK
------
Good read for newbies > http://drupal.org/node/120612
Lots of Discussion and help is going on in http://groups.drupal.org/ too, join in

------
GiorgosK
Web Development

vm’s picture

anytime you want to make a "list". then you want to investigate a view.

2houseplague’s picture

2houseplague’s picture

This is exatly what I want -- http://drupal.org/node/22273 -- but it inexplicably lacks a an obvious improvement to its usability. If you can filter like this "taxonomy/term/1+2", why not take that idea one step further to "chevrolet+convertible? How hard could that be? Plus, it would allow users (even those unfamiliar with your site or its content) to easily create their own filter URLs by INFERRING them.

If I come to a site where I see

europe/porsche/convertibles

and

america/chevrolet/sedans

Even a not so terribly bright person could venture:

japan/nissan/sedans

http://profitlabinc.com

vm’s picture

It sounds like you are getting into the areas that the contrib category.module was created. It allows parent and child categories, which I believe can be sorted in the manner that you are reaching for ?

My earlier comment was in reference to the views.module, in case there was some confusion.