Closed (fixed)
Project:
Nodequeue
Version:
6.x-2.9
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2010 at 06:53 UTC
Updated:
14 Jun 2011 at 06:42 UTC
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
Comment #1
amateescu commentedHere'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) withnodequeue/%