< Drupal in a Day Workshop

Listing Content with Views

Drupal Austria

Show in app

Description

This section introduces the Views module, one of Drupal's most powerful features for creating dynamic content listings and displays. Learners will understand how to query and present content in flexible ways without writing code, using filters, sorting, relationships, and various display formats. By the end of this section, learners will be able to create sophisticated content listings such as news archives, event calendars, product catalogs, and custom search interfaces that respond to user input and context, making content findable and accessible throughout the site.

Goals

  • Understand the Views module and its capabilities - Learners will be able to explain what the Views module is, why it's one of Drupal's most powerful features, and how it enables creating dynamic, database-driven content listings without writing code
  • Create and configure view displays - Learners will be able to create different types of view displays (page, block, feed, attachment) and understand when to use each display type
  • Select and configure view formats - Learners will be able to choose between displaying content as fields or using view modes, and understand the advantages and use cases for each format option
  • Apply filters to views - Learners will be able to create filter criteria to control which content appears in a view, using various conditions and operators
  • Configure sorting and ordering - Learners will be able to set up sort criteria to control the order in which content is displayed, including multiple sort levels
  • Implement pagers - Learners will be able to configure pagination settings to manage large result sets, including full pagers, mini pagers, and items-per-page settings
  • Create exposed filters - Learners will be able to expose filter criteria to end users, allowing them to interactively filter view results on the frontend
  • Utilize contextual filters - Learners will be able to configure contextual filters (arguments) to create dynamic views that change based on URL parameters or other context
  • Define and use view relationships - Learners will be able to establish relationships between different entities to display and filter content based on related data (e.g., showing content based on referenced taxonomy terms or users)
  • Combine filtering techniques - Learners will understand how standard filters, exposed filters, and contextual filters work together to create powerful, flexible content listings

Maintainer

Christian Ziegler