O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — creating a Recipes by cuisine type Views block

We have created a new vocabulary and associated it to our Recipe content type. Now, we will learn how to use a custom vocabulary with a view.

  1. Click on the Structure link in the Admin toolbar, click on the Views link, and click on the Add new view link.
  2. On the Views wizard page, enter Recipes by Cuisine as the View name, select Taxonomy terms for the Show select list, and select Type of Cuisine for the of type select list.
  3. This is our first non-content (node-based) view.
  4. Uncheck the Create a page checkbox, and check the Create a block checkbox.
  5. Leave the remaining default settings as they are, and click on the Continue & edit button.

    Views automatically added the Taxonomy term Name

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required