# Creating a Content List View

## Goal

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

* [Concept: Uses of Views](/link/749)
* [Concept: The Parts of a View](/link/750)
## 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 [Adding a Content Type](/link/720),
[Adding Basic Fields to a Content Type](/link/722), and [Creating a Content Item](/link/713).
* 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
[Setting Up an Image Style](/link/732).
## Steps

1. In the _Manage_ administrative menu, navigate to _Structure_ > _Views_ > _Add
    view_ (_admin/structure/views/add_). The _Add view_ wizard appears.
1. Fill in the fields as shown below.
    <table>
      <thead>
        <tr>
          <th>Field name</th>
          <th>Explanation</th>
          <th>Example value</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>View basic information > View name</td>
          <td>Name of the view that will be visible in the administration pages</td>
          <td>Vendors</td>
        </tr>
        <tr>
          <td>View settings > Show</td>
          <td>Type of information listed in the view</td>
          <td>Content</td>
        </tr>
        <tr>
          <td>View settings > of type</td>
          <td>Specify content type</td>
          <td>Vendor</td>
        </tr>
        <tr>
          <td>View settings > sorted by</td>
          <td>List order</td>
          <td>Title</td>
        </tr>
        <tr>
          <td>Page settings > Create a page</td>
          <td>Create a page that displays the view</td>
          <td>Checked</td>
        </tr>
        <tr>
          <td>Page settings > Page title</td>
          <td>Title show above the view</td>
          <td>Vendors</td>
        </tr>
        <tr>
          <td>Page settings > Path</td>
          <td>Address of the page</td>
          <td>vendors</td>
        </tr>
        <tr>
          <td>Page settings > Page display settings > Display format</td>
          <td>Type of list</td>
          <td>Table</td>
        </tr>
        <tr>
          <td>Page settings > Items to display</td>
          <td>Number of items visible on the page</td>
          <td>10</td>
        </tr>
        <tr>
          <td>Page settings > Use a pager</td>
          <td>Split up the list in several pages if there are more items</td>
          <td>Checked</td>
        </tr>
        <tr>
          <td>Page settings > Create a menu link</td>
          <td>Add the view page to the menu</td>
          <td>Checked</td>
        </tr>
        <tr>
          <td>Page settings > Menu > Type</td>
          <td>Type of menu item to create</td>
          <td>Normal menu entry</td>
        </tr>
        <tr>
          <td>Page settings > Menu > Menu link title</td>
          <td>Label of the link in the menu</td>
          <td>Vendors</td>
        </tr>
        <tr>
          <td>Page settings > Menu > Parent</td>
          <td>Menu in which to add the link</td>
          <td>Main navigation</td>
        </tr>
      </tbody>
    </table>

    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/views-create-wizard.png" alt="Add new view wizard" width="100%" />

1. Click _Save and edit_. The view configuration page appears.
1. Under _Fields_, click _Add_ from the dropdown button. The _Add fields_ pop-up
    appears.
1. Enter the word "image" in the search field.
1. Check Main image in the table.
1. Click _Apply_. The _Configure field: Content: Main Image_
    pop-up appears.
1. Fill in the fields as shown below.
    <table>
      <thead>
        <tr>
          <th>Field name</th>
          <th>Explanation</th>
          <th>Example value</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Create a label</td>
          <td>Add a label before the field value</td>
          <td>Unchecked</td>
        </tr>
        <tr>
          <td>Image style</td>
          <td>The format of the image</td>
          <td>Medium (220x220)</td>
        </tr>
        <tr>
          <td>Link image to</td>
          <td>Add a link to the content item</td>
          <td>Content</td>
        </tr>
      </tbody>
    </table>
1. Click _Apply_. The view configuration page appears.
1. Under _Fields_, click _Add_ from the dropdown button. The _Add fields_ pop-up
    appears.
1. Enter the word "body" in the search field.
1. Select _Body_ in the table.
1. Click _Apply_. The _Configure field: Content: Body_ pop-up
    appears.
1. Fill in the fields as shown below.
    <table>
      <thead>
        <tr>
          <th>Field name</th>
          <th>Explanation</th>
          <th>Example value</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Create a label</td>
          <td>Add a label before the field value</td>
          <td>Unchecked</td>
        </tr>
        <tr>
          <td>Formatter</td>
          <td>The presentation of the field value</td>
          <td>Summary or trimmed</td>
        </tr>
        <tr>
          <td>Trimmed limit:</td>
          <td>The number of maximum characters shown</td>
          <td>120</td>
        </tr>
      </tbody>
    </table>
1. Click _Apply_. The view configuration page appears.
1. Under _Fields_, click _Content: Title (Title)_. The _Configure field: Content:
    Title_ pop-up appears.
1. Uncheck _Create a label_. This will remove the label that was created by the
    wizard.
1. Click _Apply_. The view configuration page appears.
1. Under _Fields_, click _Rearrange_ in the dropdown button. The _Rearrange
    fields_ pop-up appears.
1. 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).
1. Click _Apply_. The view configuration page appears.
1. Optionally, click _Update preview_ for a preview.
1. Click _Save_.
    ![Vendors view configuration page](https://docs.cocobook.com/uploads/images/gallery/2026-10/views-create-view.png)
1. Navigate to the homepage and click Vendors from the main navigation to see
    the result.
    ![Vendors view output](https://docs.cocobook.com/uploads/images/gallery/2026-10/views-create-view-output.png)

## 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
[Changing the Order of Navigation](/link/718).
## Videos

[Creating a Content List View](https://www.youtube.com/watch?v=aw02gXlte9I)
