Drupal 5 Views Recipes

More Information
  • Master the Views User Interface
  • Create views arguments
  • Implement and create default views for recent comments, the frontpage, group listings, and more
  • Explore a variety of ways to associate views with related content
  • Display event listings, calendars, and timelines
  • Make site administration easier using several administration modules
  • Enhance your web site with Google Map tools, YouTube video bar, photo gallery, audio, and Views Fast Search
  • Enable your users to flag and bookmark content for later viewing
  • Incorporate views into panels and tabs
  • Create a directory of available theme functions, and learn some key debugging strategies
  • Use theme overrides and CSS to create more attractive views
  • Fix the long-standing taxonomy term bug, and the body field Views display issue
  • Create and apply patches
  • Create some helpful browser buttons and search plug-ins to facilitate finding information online

Here is the brief summary of what each chapter covers:

Chapter 1 – Introduces the Views module, along with a Views Worksheet that will serve as a guide throughout the rest of the book. We create a basic view of Swim Groups.

Chapter 2 – In this chapter, we look at the six "default views" that come with the Views module. We learn which modules must be enabled for these views to appear, and we get to know the feed selector and Term arguments. We close the chapter by creating a module with a default view of Swim Groups.

Chapter 3 – In this chapter, we incorporate CCK fields into views such as a Blog Roll, Guitar Chord Display, and a Block of Media Hits Associated with Press Releases. We share a variety of ways to associate views with related content, including Viewfield and Node Reference modules, and building views from within a template.

Chapter 4 – In this chapter we focus on date fields, calendars, upcoming events, and the timeline module. This chapter rounds out coverage of all of the Views User Interface fieldsets, including Exposed Filters.

Chapter 5 –
In this chapter, we examine ten tools to ease the work of site administrators, including Views Bulk Operations, Editable Fields, ModuleInfo, and setting up cron

Chapter 6 – In the “Views Galore” chapter, we explore some rarely-covered but powerful modules, including: Views Fusion, Views Fast Search, Views Bonus Pack Export, and Google Maps Tools. We also create a YouTube Video Bar, detail the steps to install jQuery Update with a Lightbox2 Gallery, and examine how to use the Flag module for a variety of applications.

Chapter 7 – This is the theming chapter, a bit more code-rich than the others. We create a directory of available theme functions. We look closely at Views theme functions and override them when necessary. We cover some debugging strategies. We use CSS to create "date badges" and to control carousel formatting. Finally, we incorporate views into panels and tabs.

Chapter 8 – In this chapter, we focus on navigating the online Drupal community. We learn how to search the Views issue queue, and how to apply and create patches. We cover some Do's and Don'ts in Drupal chat on IRC, and create a few helpful browser buttons and search plug-ins to facilitate finding information online.

Appendix A – List of all default views available for Drupal 5

Appendix B – Comprehensive list of Drupal 5 field formatters, by module

Appendix C –
Comprehensive list of Drupal 5 style plug-ins, by module

Appendix D – Views 1 hooks

Appendix E – Modules included in recipe ingredients

Appendix F – Additional resources and modules

Appendix G – Selected noteworthy patches to views, sorted by topic


The Drupal View modules give you flexibility and freedom to customize the display of your web site's content. Although there are more than 100 views-enabled modules, few site administrators use Drupal Views to its full potential.

This book will enable you to realize the fullest potential of this powerful resource by providing a wide variety of powerful recipes for creating and displaying a wide variety of views – essential classics you will use again and again to innovative display methods that will make your Drupal site stand out. Pick and choose the ones you would like to prepare for your web site.

In this book you will find ninety-four recipes to create a wide selection of views. The list includes event listings, interactive calendars and timelines, maps, proximity search, podcasting, carousels, Views Fusion, and many more. You will also explore default views, views with CCK, and master a variety of ways to associate views with related content.

Most people think of Views for site visitors. But Views can also be handy for site administrators. You will get to know the Views Bulk Operations module, along with Editable Fields, and Views Custom Fields. (You’ll probably wonder why you never used them before!)

If you want to take Views to the next level, the book contains a code-rich chapter on theming. However, you will find most of the recipes detailed by the author do not require any original coding at all.

As you progress through the recipes, you will be immersed in such Drupal Views topics as fields, arguments, filters, exposed filters, sorting, style plug-ins, formatters, cloning and copying views.

Because Drupal is a worldwide and ever adapting system, the author also includes great tips and resources for navigating the online Drupal community and expanding your knowledge of the recipes.

Finally, there is an extensive Appendix, which includes listings of all default views, formatters and style plug-ins for Drupal 5, along with a categorized list of patches.

  • Display particular types of content in unique and compelling ways on your Drupal web site
  • Enhance your web site with calendars, timelines, galleries, maps, podcasts, Views Fusion, and more
  • Indispensable resources for Drupal 5 Administrators – Drupal Administration Menu, Views Bulk Operations, ModuleInfo, and Editable Fields modules
  • More than 90 recipes – pick the ones that work best for your web site
Page Count 412
Course Length 12 hours 21 minutes
ISBN 9781847196965
Date Of Publication 26 May 2009


Marjorie Roswell

Marjorie Roswell is a web developer from Baltimore, MD. She has been building web sites that serve the community for more than a decade.

Marjorie developed a GIS system for assisting citizen callers to the Baltimore Office of Recycling, and has taught professional classes in desktop publishing, AutoCAD, and Drupal.

While in college, Marjorie received the Betty Flanders Thomson Prize for Excellence in Botany. She now brings together her love of plants and Drupal to create BaltimoreUrbanAg.org, the web site for the Baltimore Urban Agriculture Task Force.

Marjorie enjoys writing and playing music with a community of local musicians. You can hear some of her music at FriendlyCoffeehouse.org.