A view is a listing of content on a website. The Views module handles the display of views, and the Views UI module allows you to create and edit them in the administrative interface. When you define views, you are taking data from your website and displaying it to the user.
You can create views to output practically any content entity that is stored in the system. For example, you can create the following lists using various display output for a farmers' market site:
- Vendors as a table
- Recipes in a grid
- The most recent content on the site as a bulleted list
Currently, Drupalize.Me offers tutorials on Views as a contributed module to Drupal 7. In Drupal 8, Views is part of core. While there are some new features, the Views UI hasn't changed very much, so most tutorials on Views will still be relevant to a Drupal 8 site builder. See also the external resources section below for Drupal 8-specific resources for Views.
For themers and site builders, one key difference is how theme information is accessed and how to override template files. Consult our Drupal 8 theming guide for how to set up your local environment for theme development and how to override template files.
For module developers, our Coding for Views series of tutorials applies to Drupal 7. Views plugins in Drupal 8 use Drupal's plugin system. Learn what plugins are in our Drupal 8 Module Development Guide and see the External resources section, below, for resources about coding views plugins for a Drupal 8 project.
We are still filling out our Drupal 8 library and this page will be updated with new tutorials as they are created. Note that almost all tutorials for Drupal 7 also apply directly to Drupal 8. Those that do not apply to Drupal 8 are noted in the list below.
- Introduction to Views in Drupal 7
- Learn about the Views module, get familiar with the interface, and learn how to configure views in a variety of ways to customize content listing displays for your site.
- Markup in Drupal
- These tutorials in the Markup in Drupal series go into more detail about controlling markup output in Views.
- Introduction to Markup in Views
- Views Unformatted List Format
- Views HTML List Format
- Views Table Format
- Views Default Field Wrapper Markup
- [Views Advanced Field Wrapper Markup)[https://drupalize.me/videos/views-advanced-field-wrapper-markup]
- Views Theme Information (Drupal 7 only)
- Theme Developer Module (Drupal 7 only)
- Views Template Files (Drupal 7 only)
- How to Add a Class to a View
- Recap and Challenge: Markup in Views
- Views Bulk Operations (VBO) Module
- Learn how to enable your site administrators to perform actions on lists of content, or how to add actions to existing content administration views with the Views Bulk Operations Module.
- Coding for Views
- This series introduces module developers to the Views API in Drupal 7.