We're excited to publish a new set of tutorials, Views: Create Lists with Drupal. This set of tutorials includes a database starting point and instructions for setting up a local development environment with DDEV so that you can follow along. The database includes an extensive set of baseball stats data so that we could demonstrate the power of Views to filter, sort, display, theme, and build customized lists in blocks, pages, API endpoints, and more.
If you're new to Views, walk through Chapter 9 of the Drupal 8 User Guide to get up to speed with the basics.
Then, return to Views: Create Lists with Drupal to learn more about displays, filtering, sorting, and exposing filter or sort criteria to users as an interactive form. Learn about concepts like relationships and contextual filters and how and when they can be added and configured in a view. Finally, we'll cover some nuances in theming views, take a look at the different templates that make up a view, and override a view's wrapper template.
Author, Jonathan Daggerhart
Jonathan Daggerhart (daggerhart on Drupal.org) is a Drupal and WordPress developer who has worked with and contributed to both systems for over a decade. He has presented at multiple Drupal and WordPress camps on topics for both beginner and expert developers. Jonathan is also an organizer of Drupal Camp Asheville.
Tutorials:
- Set up Demo Site with Views and Content
- Add a REST Endpoint with Views
- Overview: Filter Criteria in Views
- Add Filter Criteria to a View
- Overview: Exposed Filter Criteria in Views
- Expose Filter Criteria to Users in Views
- Overview: Sort Criteria in Views
- Add Sort Criteria to a View
- Overview: Exposed Sort Criteria in Views
- Expose Sort Criteria to Users in Views
- Overview: Relationships in Views
- Add a Relationship to a View
- Overview: Contextual Filters in Views
- Create a Page with a Contextual Filter
- Overview: Theming Views
- Override a View's Wrapper Template
In addition to using the database starting point and a local development environment to get some hands-on practice with Views configuration, we're working on integrating Tugboat (of simplytest.me fame) so that you spin up Drupal with our database starting point loaded, log in, and follow along. We expect to add this integration to this Views series and our Hands-On Theming guide early in 2020.
Add new comment