Date range links module provides range links for date field. Works with Date field
and Views exposed filter. Currently supports only Date popup widget.

Installation

Install as you would normally install a contributed drupal module.
Visit: Installing modules (Drupal 7) for further information.

Configurations

To output range links you have to enable 'Show range links' checkbox on field/exposed filter settings form.

To enable range links for Date field:

  1. Go to Date field settings page
  2. Enable 'Collect an end date' checkbox
  3. Enable 'Show range links' checkbox

To enable range links for exposed Date filter:

  1. Go to exposed Date filter settings
  2. Operator should be 'Is between' or 'Is not between'
  3. Enable 'Show range links' checkbox

API

See date_range_links.api.php

AttachmentSize
date-range-links.png18.56 KB