18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 19 ■ Creating a Blog Site<br />

Figure 19-3. Topics added to the Article content type<br />

Another change that we’ll want to make to the Article content type is to turn off the option to<br />

automatically post new blog entries to the front page of the site. We want to control what is displayed<br />

through the view that we’ll create in the next steps. To turn off the automatic publishing to the front page<br />

feature, click the Edit tab at the top of the “Edit Article content type” page and select “Publishing options”<br />

from the vertical tabs at the bottom of the form. Uncheck the “Promoted to front page” option and click the<br />

“Save content type” button. We’re now ready to use the Article content type to author blog postings.<br />

Creating Views<br />

The next step in the site-building process is to create the views that will be used to render content on the site.<br />

We’ll need two views:<br />

• A teaser listing sorted in descending order based on post date, showing the newest<br />

blog post at the top of the page<br />

• A list of taxonomy terms in the Topics vocabulary, providing an easy way for site<br />

visitors to browse through postings based on topic of interest<br />

205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!