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 — building a random top rated recipe block with views

We are going to go beyond the basic Views wizard view creation user interface, and learn some more advanced Views features and configuration.

  1. Open our d7dev site in your browser, click on the Structure link in the Admin toolbar, and click on the Views link.
  2. Click on the Add new view link at the top of the Views page.
  3. Enter Random Top Rated Recipe as the View name.
  4. Select Recipe for the of type options.
  5. Uncheck the Create a page checkbox, and check the Create a block checkbox.
  6. Select fields for the Display format of options, and enter 1 for the Items per page. Your Add a new view form should now look similar to the following screenshot:
  7. Next click on the Continue & edit button, as ...

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