Book Image

Drupal 8 Quick Start Guide

By : J. Ayen Green
Book Image

Drupal 8 Quick Start Guide

By: J. Ayen Green

Overview of this book

Drupal is a powerful content management platform, ?exible enough to accommodate almost any content requirements. This ?exibility comes with a cost: complexity. Drupal 8 Quick Start Guide will clear your path from installation to a building usable site in minutes, and to a customized site in one sitting. You will begin with installation of Drupal and going through the main sections of the Drupal UI. Then, you will create a content type that describes its content, which simplifies the act of creating and editing the actual content later. You will learn about user roles, using real-world examples. This will help you to learn how to design roles, and how to assign appropriate permissions to them. Next, you will learn to use the WYSIWYG editor, configure it for other roles, navigate the various fields on the content creation form, and publish content. To begin to appreciate the ?exibility and expandability of Drupal, you will make use of popular content-focused modules that extend Drupal's power. You will learn how to expand your market to other readers directly and through other sites by configuring content and UI translations and creating a View that provides an RSS feed. Finally, you will put everything together by customizing the home page for your new website.
Table of Contents (16 chapters)

Making the changes


Now that we have a plan, let's get busy!

Improving the Frontpage view

Navigate to Structure | Views (/admin/structure/views). Scroll down to the Frontpage view. This is one of the views that comes with Drupal. We could modify it, but it is a good practice to leave the original unchanged and, instead, make a duplicate to modify, which is what we'll do here:

  1. Fromthe drop-down in its row, select Duplicate.
  2. In the View name text box that then appears, change the name to Frontpage - Custom and click Duplicate.
  3. On the View configuration page, we will change the number of items that the view displays. It is currently configured to show 10 items and a pager, but we will change it to show only one. Click Full and select This page (override) from the drop-down. Select the setting for Display a specified number of items, and click Apply (this display).
  4. In the Pager options dialog, change the Items per page to 1, click Apply, and then click Save.
  5. Return to the views list at /admin/structure...