4

I'm making a contextual filter, to pass along an argument from a panel to a view, using Content: Has taxonomy term ID.

This is so that it pulls in a keyword from a URL.

However, I want it to work so that when no keyword is passed in, it goes based on the last URL parameter.

For example:

www.example.com/tech/startup

It should pull ONLY things with both tech and startup if this is passed.

However, if the URL is just:

www.example.com/tech

Then it should show ALL articles with the tech taxonomy term.

How do I do this?

1 Answer 1

7

You can use Exceptions setting in views like below

enter image description here

And point your menu link to www.example.com/tech/all instead of www.example.com/tech

1
  • 1
    Working fine. Is there any option to avoid all option? Jun 3, 2017 at 17:26

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.