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 10<br />

Creating Pages<br />

Now that you have a general understanding of content types, blocks, views, and themes, you’re ready to start<br />

assembling pages on your website using a combination of each of those elements. A page may represent a<br />

single piece of content (for example, a news story about the first day at <strong>Drupal</strong>Con), or it may represent a<br />

landing page similar to the front page of <strong>Drupal</strong>.org. Each page on your site may vary in structure, thanks<br />

to the flexibility of the theme that you select for your site as well as the blocks mechanism and the ability<br />

to specify on which page (URL) a block is to be displayed. Using Views to create blocks provides a dynamic<br />

mechanism for extracting content along with static blocks created through the blocks interface. The<br />

combination of <strong>Drupal</strong> 8 tools provides a powerful mechanism for creating an awesome site.<br />

Foundation for Creating Pages<br />

<strong>Drupal</strong> 8 core in conjunction with your theme provides all the capabilities required to create a typical page<br />

found on a website. The theme provides the regions that can contain content, while <strong>Drupal</strong> 8 core’s content<br />

types, blocks, and views provide the mechanism for creating content that will appear within those regions.<br />

In Chapter 6 you discovered the regions that the Bartik theme provides as containers for content on<br />

your website. As a review, Figure 10-1 depicts the regions that may be used to place content and blocks.<br />

117

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

Saved successfully!

Ooh no, something went wrong!