This module provides a new Views argument plugin for date fields that allows for arbitrary date ranges in summary views. If you need to generate a listing of nodes by quarter, academic term, or some other site-specific date range then this is the module for you.

Note: This module has only been tested on MySQL 5.x and I'm fairly sure it will not work on PostgreSQL. Unfortunately it requires doing seriously bizarre things in SQL that are not at all portable.

Once this module is enabled, you will find a new Views Argument handler under the "Date" group called "Date: Date range". It works in the same way as the normal "Date: Date" argument, except that instead of setting a granularity for the summary view you may configure your own arbitrary set of date ranges at the bottom of the configuration form.

These date ranges should be in the order you wish them displayed, and together should cover the entire year. They may be given any label you wish.

When the view is displayed, if no date is given then a summary view will be generated that uses the specified date ranges rather than more common ranges like a summary by month or by year. Each date range will be within a given calendar year, so will be along the lines of "Quarter 3 2008", "Quarter 1 2009", etc.

Each summary link will link to a normal view page filtered by that date range. That page should behave normally like any other date-based view.

This module was developed by Palantir.net.

Project Information

  • Maintenance status: Unknown
  • Development status: Unknown
  • Module categories: Content Display, Event, Views
  • Reported installs: 565 sites currently report using this module. View usage statistics.
  • Downloads: 5,017
  • Last modified: March 18, 2009

Downloads