Menu du compte de l'utilisateur

  • Log in

Navigation principale

  • Home Page
  • All CMS
  • Tutorials
  • White Paper
Home
Guide CMS

Breadcrumb

  • Home
  • Tutorials
  • Drupal User Guide
  • Chapter 9. Creating Listings with Views
  • 9.2. Concept: The Parts of a View

Language selector

  • Français
  • English

Main navigation

  • Home Page
  • All CMS
  • Tutorials
  • White Paper

User login

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
  • Create new account
  • Reset your password

Book navigation

  • Tutorials
    • Drupal User Guide
      • Preface
      • Chapter 1. Understanding Drupal
      • Chapter 2. Planning Your Site
      • Chapter 3. Installation
      • Chapter 4. Basic Site Configuration
      • Chapter 5. Basic Page Management
      • Chapter 6. Setting Up Content Structure
      • Chapter 7. Managing User Accounts
      • Chapter 8. Blocks
      • Chapter 9. Creating Listings with Views
        • 9.1. Concept: Uses of Views
        • 9.2. Concept: The Parts of a View
        • 9.3. Creating a Content List View

Guy Vigneault

9.2. Concept: The Parts of a View

By Guy Vigneault | 3:17 PM EDT, Sun September 20, 2026

Prerequisite knowledge

  • Section 2.3, “Concept: Content Entities and Fields”
  • Section 2.4, “Concept: Modular Content”
  • Section 9.1, “Concept: Uses of Views”
  • Section 5.1, “Concept: Paths, Aliases, and URLs”
  • Section 8.1, “Concept: Blocks”

What are the parts of a view?

When you are editing a view in the administrative interface, you will see the following parts (or sections), which allow you to specify what data to output, in what order, and in what format:

Display

Each view can have one or more displays, each of which produces one type of output. Options for display types include:

Page

Makes output at a particular URL, for the main page content at that URL.

Block

Makes output in a block, which can be placed on pages.

Feed

Makes an RSS or another type of feed.

Attachment

Makes output that you can attach to another display.

Format

Depending on the display type, you can choose to output your data in a table, grid, HTML list, or another format. Some formats also give you a second choice that lets you output either rendered entities or fields; other formats do not give you this choice (for example, if you use a table format, you must always use fields).

Fields

Depending on the format choice, you may be able to choose which content fields are output. For example, if you were making a view of recipe content items, in a block display you might show only the recipe names, while in a full page display you might also show an image field because you have more space.

Filter criteria

Filters limit the data to be output, based on criteria such as whether the content has been published or not, the type of content, or a field value. For instance, to make a view of recipe content items, you would need to filter to the Recipe content type, and to published recipes. Filters can also be exposed, which means that users will have a form where they can choose their own filter values. You might use this on a Recipe page to let users filter for recipes with certain ingredients.

Sort criteria

Defines the order to present the output, which can be based on any content field.

Contextual filters

Contextual filters are like regular filters, except that the values come from the context of the view display, such as the full URL of the page being displayed, the current date or time, or some other value that can be detected by the view calculation.

Relationships

Relationships allow you to expand what is displayed in your view, by relating the base content being displayed to other content entities. Relationships are created using fields on the base content that relate it to the other content; one example is that all regular content items have an author field, which references the user account of the person who authored the content. Once you have created a relationship, you can display fields from the referenced entity in the view.

Related topics

Section 9.3, “Creating a Content List View”

Attributions

Written and edited by Surendra Mohan and Jennifer Hodgdon.

 

Book traversal links for Tutorials

  • ‹ 9.1. Concept: Uses of Views
  • Up
  • 9.3. Creating a Content List View ›
CMS

 

All CMS

 

Tuto

 

Tutorials

 

White Paper

 

White Paper

Powered by Drupal

Privacy Policy

Privacy Policy

 

Recent content

  • 9.3. Creating a Content List View
    54 minutes 58 seconds ago
  • 9.2. Concept: The Parts of a View
    1 hour 2 minutes ago
  • 9.1. Concept: Uses of Views
    1 hour 6 minutes ago
  • Chapter 9. Creating Listings with Views
    1 hour 11 minutes ago
  • 8.3. Placing a Block in a Region
    1 month 1 week ago

Copyright

Creative Commons

Sauf mention contraire, Guide CMS © 2025 par Guy Vigneault est sous licence Creative Commons Attribution - Utilisation non commerciale - Partage dans les mêmes conditions 4.0 International

 

Creative Commons

Unless otherwise stated, Guide CMS © 2025 by Guy Vigneault is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

eGV Web