Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating new content types


When we were going through the site-building scenario in Chapter 5, Basic Content, we defined four more content types that we need on the website: Services, Clients, Testimonials, and Frequently Asked Questions (FAQs).

We'll now work through building each of these content types and add extra fields of various types as we go.

Creating the Client content type

To create the Client content type first visit: Manage | Structure.

Click on Content types and then +Add content type.

Name your new content type and optionally include a brief HTML-formatted administrative description which will appear on the Add content page.

In the additional settings area at the bottom of the screen, under Submission form settings, change the label for the Title field to Client name so as to prompt your content editors to supply just that.

Note that you can provide an optional set of further guidelines and disable the Preview before submitting setting if you so wish.

In the Publishing options section...