Book Image

Drupal for Education and E-Learning

Book Image

Drupal for Education and E-Learning

Overview of this book

Table of Contents (22 chapters)
Drupal for Education and E-Learning
Credits
About the Author
About the Reviewers
Preface
Index

Creating Views


The Views module allows site administrators to sort and display content created on the site. The views module is incredibly flexible, but initially, the process of creating views can seem daunting.

In this section, we will examine the basic steps that you will follow as you create different views on your site. Although each view will vary depending on what you are trying to show, the steps outlined here provide the basis for getting started.

To create a view, follow these steps:

  1. Add a view: The View type determines what type of data will be shown in the view. The next steps determine how it will be displayed.

  2. Set the defaults

    1. Add fields to the view

    2. Add filters

    3. Add arguments

    4. Set style

    5. Set additional configuration options

  3. Add a display type

    1. Define multiple display types (optional)

    2. Override the default values (optional)

In this example, we will create a view that displays bookmarks, and all terms connected with those bookmarks.

Step 1: Add a View

To add a view, click the Administer |...