2

I would like to create a views that has a contextual filter with a node reference.

I'm able to view the contextual filter working when I use the node's id value, but I need to be able to use the alias or name value of that content type. I have people categorized by office (the office is also a content type because it has much more content than a taxonomy would allow). Then using the office location as a contextual filter I'm trying to show the "team" listed for each office.

/office/atlanta/team rather than /office/6/team

2 Answers 2

0

Instead of Term: ID you might want to use Term: Name. I believe you can also check a box in the contextual filter options panel to display "Term ID converted to term name".

1
  • I think the problem for the OP is that the filter is not a taxonomy term but a node reference so the options you specify are not available.
    – Malks
    Aug 4, 2012 at 23:50
0

I'm not sure, but it could be something like

[term:vocabulary]/[term:name]

1
  • You mean in the path for that view I'd use about-us/market-offices/[term:name]/team rather than about-us/market-offices/%/team
    – circlecube
    May 4, 2012 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.