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.3. Creating a Content List 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.3. Creating a Content List View

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

Goal

Create a page listing vendors that will be automatically updated whenever a vendor is added, deleted, or updated on the site.

Prerequisite knowledge

  • Section 9.1, “Concept: Uses of Views”
  • Section 9.2, “Concept: The Parts of a View”

Site prerequisites

  • The core Views and Views UI modules must be installed. These are installed for you when you install with the core Standard installation profile.
  • The Vendor content type must exist, with URL and Main image fields. Your site must have a couple of Vendor content items. See Section 6.1, “Adding a Content Type”, Section 6.3, “Adding Basic Fields to a Content Type”, and Section 5.2, “Creating a Content Item”.
  • The Medium (220x220) image style must be defined. This is created on your site when you install the core Image module (installed with the core Standard installation profile) but can be recreated if deleted. See Section 6.13, “Setting Up an Image Style”.

Steps

  1. In the Manage administrative menu, navigate to Structure > Views > Add view (admin/structure/views/add). The Add view wizard appears.
  2. Fill in the fields as shown below.

    Field nameExplanationExample value
    View basic information > View nameName of the view that will be visible in the administration pagesVendors
    View settings > ShowType of information listed in the viewContent
    View settings > of typeSpecify content typeVendor
    View settings > sorted byList orderTitle
    Page settings > Create a pageCreate a page that displays the viewChecked
    Page settings > Page titleTitle show above the viewVendors
    Page settings > PathAddress of the pagevendors
    Page settings > Page display settings > Display formatType of listTable
    Page settings > Items to displayNumber of items visible on the page10
    Page settings > Use a pagerSplit up the list in several pages if there are more itemsChecked
    Page settings > Create a menu linkAdd the view page to the menuChecked
    Page settings > MenuMenu in which to add the linkMain navigation
    Page settings > Link textLabel of the link in the menuVendors

    Add new view wizard

  3. Click Save and edit. The view configuration page appears.
  4. Under Fields, click Add from the dropdown button. The Add fields pop-up appears.
  5. Enter the word "image" in the search field.
  6. Check Main image in the table.
  7. Click Apply. The Configure field: Content: Main Image pop-up appears.
  8. Fill in the fields as shown below.

    Field nameExplanationExample value
    Create a labelAdd a label before the field valueUnchecked
    Image styleThe format of the imageMedium (220x220)
    Link image toAdd a link to the content itemContent
  9. Click Apply. The view configuration page appears.
  10. Under Fields, click Add from the dropdown button. The Add fields pop-up appears.
  11. Enter the word "body" in the search field.
  12. Select Body in the table.
  13. Click Apply. The Configure field: Content: Body pop-up appears.
  14. Fill in the fields as shown below.

    Field nameExplanationExample value
    Create a labelAdd a label before the field valueUnchecked
    FormatterThe presentation of the field valueSummary or trimmed
    Trimmed limit:The number of maximum characters shown120
  15. Click Apply. The view configuration page appears.
  16. Under Fields, click Content: Title (Title). The Configure field: Content: Title pop-up appears.
  17. Uncheck Create a label. This will remove the label that was created by the wizard.
  18. Click Apply. The view configuration page appears.
  19. Under Fields, click Rearrange in the dropdown button. The Rearrange fields pop-up appears.
  20. Drag the cross bar handles of fields to put them into the right order: Image, Title, Body. As an alternative to dragging, you can click the Show row weights link at the top of the table and enter numerical weights (fields with lower or more negative weights will be shown first).
  21. Click Apply. The view configuration page appears.
  22. Optionally, click Update preview for a preview.
  23. Click Save.

    Vendors view configuration page

  24. Navigate to the homepage and click Vendors from the main navigation to see the result.

    Vendors view output

Expand your understanding

The link to the view in the main navigation will probably not be in the right place. Change the order of the menu links in the main navigation. See Section 5.7, “Changing the Order of Navigation”.

Videos

Creating a Content List View

Attributions

Written/edited by Boris Doesborg and Jennifer Hodgdon.

 

Book traversal links for Tutorials

  • ‹ 9.2. Concept: The Parts of a View
  • Up
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
    23 seconds ago
  • 9.2. Concept: The Parts of a View
    7 minutes 49 seconds ago
  • 9.1. Concept: Uses of Views
    12 minutes 20 seconds ago
  • Chapter 9. Creating Listings with Views
    16 minutes 36 seconds 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