What will you learn
- Adding and configuring filter and sort criteria to refine and order view results
- Exposing filter and sort criteria to users for interactive filtering and sorting
- Using relationships to connect related data in views
- Implementing contextual filters for dynamic content filtering
- Theming views and overriding view templates
- Introduction to the Views API and its components
- Understanding the Views build and render cycle
- Defining custom Views plugins
Overview
Learn about the advanced filtering features of Views, customizing the output, and giving users control over filter criteria.
Drupal's Views API provides the ability to extend and customize the Views module, expose new data to Views, and enable the creation of complex and tailored data displays by defining new field types, filters, and sorting criteria.
This guide contains tutorials that will teach you how to create custom dynamic lists of your site's content using the Views UI module. If you're new to Views, walk through Chapter 9 of the Drupal User Guide to get up-to-speed with the basics:
Courses
Views UI
This course assumes you’re already familiar with the basics of what Views are and how they work. The tutorials in this course cover advanced features of the Views module, including adding and configuring filter and sort criteria, exposing these criteria to users, and using relationships and contextual filters to refine the data displayed. Additionally, you will learn how to theme Views using template files.
Views API in Drupal
This course covers the basics of the Views API, including how to interact with Views using hooks and plugins. You will learn how to alter views before and after they are rendered, modify the queries used by views, and expose custom data to views. Additionally, the course will delve into creating custom Views plugins, such as field handlers, pseudo fields, filters, and more.