Book Image

Mastering Drupal 8 Views

By : Gregg Marshall
Book Image

Mastering Drupal 8 Views

By: Gregg Marshall

Overview of this book

Learn how to build complex displays of content—all without programming. Views were used on more than 80% of all Drupal 7 sites; now they are part of the Drupal 8 core. While most site builders and site owners are aware of views, they don't understand how to take full advantage of their power to create many amazing pages and blocks. If they use 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.
Table of Contents (20 chapters)
Mastering Drupal 8 Views
Credits
Foreword
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface
Index

Adding a rotating carousel to the front page


As it started to snow outside, Lynn sat down at her computer. Jackson decided that the warmth of the monitor was a good idea and nestled into his usual spot for a nap while Lynn worked.

Lynn logged into her development site and started to work on building her rotating carousel of featured properties. First she went through the list of properties and decided on half a dozen that she wanted in the carousel. She edited each property and checked the Featured field option, following it up by clicking on Save and keep published to save the changes.

Install the Views Slideshow Module

Next she installed the Views Slideshow module by going to the project page on Drupal.org at http://drupal.org/project/views_slideshow. Lynn scrolled down to the Downloads section, found the recommended release for Drupal 8 (at the time of writing—8.x-4.0), right-clicked on the tar.gz link, and copied the link location. Switching to her development site, she navigated to Extend...