Chapter 11. Views

If you ask anyone who has used Drupal for a while what the "killer module" is, the answer will likely be Views, Panels, or the Content Construction Kit (CCK). Views is usually mentioned first, and it's the module that many users say they can't live without. What does the Views module do that is so special? Simply stated, Views provides an easy-to-use tool for selecting and displaying lists of content on your website. Examples of how you might use Views include:

  • Displaying the most recent news articles posted to your website, sorted in descending order by the date of posting.

  • Displaying a list of company locations as a table that is sortable by clicking on the titles for the location name, city, state, and country.

  • Displaying a photo ...

Get Beginning Drupal 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.