Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294220

Contextual filter issues while passing multiple taxonomy selections from node, to pages, to views

$
0
0

I am having trouble with the proper configuration of passing multiple taxonomy term selections through a page (which calls a view) and uses contextual filters to display only nodes that have, in this case, categories which match the ones i've multiple selected in the node.

I have a node with a taxonomy multiple select box (category). I select two categories.
I have a page that is used for that node's specific content type. It calls a view.

Presently that view is configured such that the view's contextual filter, as it is presented in pages, is:
CONTENT: HAS TAXONOMY TERM ID
and I select 'category'.

In views i have set up a contextual filter with these specs:
Content: Has taxonomy term ID
Specify validation criteria - Validator: taxonomy term
filter value type: term name converted to term id (I could use others, a few seem to work - my gut tells me I need the ..Terms ID separated by, or +)
and then undre more i've selected "allow multiple values"

I think the issue is in passing the arguments from the page to the view, so I thought I would try creating custom arguments - but this is completley lost on me.

its worth noting that there is ONE other contextual filter I pass before this - but it's working just fine because I dont need multiple values.

Any support would be greatly appreciated,
Thanks


Viewing all articles
Browse latest Browse all 294220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>