1

I have created a drupal view for my content type "Work", it has a relationship "Taxonomy terms on node" and a contextual filter "(term) Taxonomy vocabulary: Machine name". My path is /work/%.

When I go to work/sector, then it displays correctly all from content type work with the vocabulary sector. But when I go to just /work I get a "page not found".

Is there anything I need to be looking out for?

1 Answer 1

2

Click on your second argument, under Contextual Filter.

You should see an option - "When the filter value is not in the URL". That's where you specify what to do when the argument, i.e. "/sector" is not present. Provide the appropriate selection, and make sure Show "Page not found" is not selected. enter image description here

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.