Saturday, May 27, 2017 07:03 pm EDT

Views

Bri's picture

Drupal 7 Views Contextual Filters to Create a Summary of Taxonomy Terms

Here I want to setup a page with a few views. I want to create a page of node teasers of some sort, perhaps with some exposed filters, but I also want a block that shows a summary of my nodes. I want the block to show how many nodes are in a particular taxonomy. This is nice to do with a taxonomy of States or "types" and acts as a "view nodes by type" action. This can be done with a regular text field as well, but if you are using a taxonomy it is a little trickier. Here are some basic instructions to create a page that looks like the following:

Syndicate content