Mastering Drupal 8 Views

Sub-title: 
Build sophisticated displays of your Drupal content, all without programming
Authors: 
Publisher: 
Packt Publication
Publication date: 
2016-05
Page count: 
250
ISBN-13: 
9781785886966

Accelerate your development process using Drupal 8 Views through this advanced, practical guide.

Key features

  • A practical, step-by-step guide with illustrative examples to give you a clear understanding of Drupal 8 views
  • Get the only book on the market that talks about Drupal 8 views and their importance for developers
  • Get an understanding of how views work and how they help to create modular applications

Topic and description

Learn how to build complex displays of content—all without programming.

Views was used on more than 80% of all Drupal 7 sites; now it is part of the Drupal 8 core. While many site builders and site owners are aware of Views, they don't understand how to take full advantage of its power to create many amazing pages and blocks. If they are using Views, they might build 10 different view displays with different filters, without knowing that a contextual filter would require only a single display.

Using our sample company, we'll take its existing content and evolve an ever more complex and powerful website for that company, starting with adapting the administration the user sees and moving on to making complex pages of information for site visitors.

While the book is written for Drupal 8, the similarities between Views in Drupal 7 and 8 make this a useful reference for Drupal 7 site builders also.

What you will learn

  • Create displays of content that are automatically updated when you add new content
  • Show maps and rotating image carousels on your site
  • Combine content to create composite displays using the same data in different ways
  • Use fields from more than one content type to create powerful views of multi-table data
  • Modify the field data being displayed, combining it in different ways or changing the HTML that might be normally generated
  • Add headers and footers above and below a views display
  • Make the output of your view look exactly as the designer specifies
  • Change the order in which a list of content is displayed, and limit the content shown to certain content types or values
  • Filter content using values passed to the view in the URL, making a single view work in different ways

Views Integration

The Push Notifications module integrates with the Views module.

Default View: Token List

The module provides a default view that shows a list of all tokens registered on the site in a table format. The view allows users to filter by device type and exposes a username search box. To get the tokens list into the admin interface (/admin/config/services/push_notifications/tokens), follow these steps:

Push Notifications

Project page: Push Notifications on Drupal.org.

Push Notifications Overview

Drupal Open Curriculum Initiative

Objective

The objective of this initiative is to create an Open Curriculum for new developers to come into Drupal and get trained in the various aspects of Drupal development. The curriculum is aimed at helping Drupal companies train new recruits in Drupal in a systematic and structured manner. The training is expected to happen through in-class sessions, self-learning, training exercises and finally on-the-job learning. The open curriculum is expected to be a framework that will allow the developers to build an understanding of the technology and then fill in details as they go through the process of training and working on projects. See more at https://groups.drupal.org/node/508323

Drupal development roadmap

Starting with Drupal 8, the core release cycle has "minor" versions every 6 months with backwards-compatible features and API improvements.

This page is intended to be a living document for both official priorities from the core committer team for each minor release, as well as approved community initiatives from core developers at large.

Configuring group permissions and roles

The Group module comes with its own set of configurable roles and permissions. For each group you can specify appropriate permissions, and this for various "roles" that are specific to the Group module (these roles are not the typical/global roles of a typical Drupal site).

Pages

Subscribe with RSS Subscribe to RSS - Site administrators