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

Views


Once you have started to create content, it won't be very long before you find yourself in a situation where you need to create lists of it, as follows:

  • A list of article titles with each title linked to the article detail

  • A list of article "teasers" (shortened versions) linked to the full detail

  • A list of articles associated with a particular taxonomy term

The core module Views is a powerful module that enables you to do all this and much more.

Views is a powerful and flexible query-building and content-display tool that can be used to build complex content listing pages to present your content the way you want.

You can specify the number of items to display in a list and publish your view to a specific URL (a page) or as a block to be included on one or more pages.

There are a number of built-in views included in the standard profile, which we will explore later. For example, Drupal enables you to quickly and easily mark content to be "Promoted to the front page" and the following screenshot...