- 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
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.
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 like the designer specifies
- Change the order in which a list of content is displayed, limit the content shown to only certain content types or values
- Filter content using values passed to the view in the URL, making a single view work different ways
About the Author
Gregg Marshall has been using Drupal since 2006. Although he installed Drupal 5, his first production site was Drupal 6. Gregg started his career as a software engineer, switched to sales/marketing in an unrelated industry, and drifted back to development. After attending DrupalCon 2010 in San Francisco, he switched from channel marketing that used Drupal to being a full time Drupal developer.
He works as a consultant/contractor, frequently mentoring in-house development teams on Drupal best practices. Gregg is currently serving as the Senior Drupal Architect for the State of New York, where he is helping build a single platform for all the State's websites. Gregg has a degree in Chemistry, a Master's in Electrical Engineering, and a Master's in Business Administration. He is an Acquia Certified Drupal Grand Master.