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

Views for the Teacher Blog and Assignments


Now that we have created some sample content, we are ready to complete the final step in creating the Teacher blog: adding a view to display the content types in one place. As discussed in detail in Chapter 3, we need to complete three main steps to create a view.

  1. Add a view

  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

Note

Chapter 3 provides a detailed overview of adding views.

In this section we will create two views: one for the Teacher blog, and a second for Assignments.

The Teacher Blog View

To get started, click the Administer | Site Building | Views link, or navigate to admin/build/views.

Add a View

Click the Add tab to add a view.

Enter the following values:

  • View name: teacher_blog

  • View description: All posts to be displayed in the teacher blog.

  • View tag: teacher

  • View type: Node

Click the Next button to continue.

Set the Defaults

Once we have selected the View...