2016-07-14

Drupal 7: Views: Multiple Contextual Filters with Multiple Relationships

In this example we’ll be building a view in Drupal 7 that filters for different recipes based on liquor brand (a content type) and product (another content type).This will be a Page View. The path will be/recipes/%/%1. Create the view as normal2. Add a “Relationship” for the entity reference for “Brand” 3. Add a “Contextual

Drupal 7: How to hide EVA or block if view is empty

Go to the advanced tab of your view. Add contextual filters. Select Global: Null. When the filter value is NOT available: Select ‘Hide view’. Remove any “No results behavior” that may have been previously set.