Creating a Post Listing view
So now that we have a new listing display for our post content type, you may be asking how do we actually use it? Just like any content that we want to aggregate, we will start with creating a Drupal view. But unlike previous views that we created, which used fields, we will be creating a view that uses the Content Types display mode.
To get started, we will need to navigate to /admin/structure/views
and click on the Add new view button. From the Views admin screen, we will add the following information:
VIEW BASIC INFORMATION:
View name:
Post Listing
.Check the Description box.
Description:
A listing of all Posts
.
VIEW SETTINGS: Show: Content of type: Post sorted by: Newest first
BLOCK SETTINGS:
Check the Create a block.
Block title:
Post Listing
.
BLOCK DISPLAY SETTINGS:
Display format: Unformatted list of: teasers.
Items per block:
3
.Click on the Save and edit button.
All of these steps are similar to the Team Member view we created in Chapter 7, Theming Our Interior...