3

I have content type City. I have a view page with contextual filters to show the cities at the URL pattern locations/<city id>. I want to use Context to add blocks to these cities pages but I dont seem to be able to figure out how to get it done.

In D7 I used the Context Request Path to be able to do this. In D8, I dont see how this is possible.

The Request Path condition only checks internal URLs which I think is useless for me since there is no pattern that can isolate the city pages. The Node Bundle doesnt work because the page is technically a View and not a Node.

How can I use Context to place blocks on a view page that uses contextual filters?

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.