I set up smartqueues so that I have two subqueues that correspond to two terms in my vocabulary. There is a view automatically put in my views, but it does not have anything in the arguments spot.

How do I set it up so that I can access my two queues like:
/colors/red
/colors/blue

where red and blue are the two terms?
Or do I use numbers?
/colors/1
/colors/2

Comments

amateescu’s picture

Status: Active » Fixed

Here's what you need to do:

- add a new argument: Taxonomy -> Term ID
- Action to take if argument is not present -> Provide default argument -> PHP Code -> return arg(1);
- Validator options -> Taxonomy Term
- Argument type -> Term name or synonym
- check "Transform dashes in URL to spaces in term name arguments"

And in the page's path settings, you need to replace nodequeue/1 (or whatever number your nodequeue has) with nodequeue/%

Status: Fixed » Closed (fixed)

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