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)

User language selection


Being able to offer content in multiple languages is great, but only if the site visitor can take advantage of it. Drupal makes that easy with a language switcher. 

We need to enable another module. Navigate to Extend (/admin/modules) and enable the Language Icons module. Drupal will let you know that this module depends on the Interface Translation module and will ask whether you want to proceed with enabling both. Go ahead.

The Language Icons module provides flag icons for each language. It does this by way of a block that needs to be placed somewhere on the page. Let's do that.

  1. Navigate to Structure | Block layout (/admin/structure/block). You'll need to choose a region of the screen in which to have the language switcher block appear, such as Header or Sidebar first. I chose the latter.
  2. Click thePlace blockbutton beside whichever region you choose. Scroll down toLanguage switcherand click thePlace blockbutton in its row. A configuration screen will appear.
  3. You can...