Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:
- Go to Date field settings page
- Enable 'Collect an end date' checkbox
- Enable 'Show range links' checkbox
To enable range links for exposed Date filter:
- Go to exposed Date filter settings
- Operator should be 'Is between' or 'Is not between'
- Enable 'Show range links' checkbox
API
Attachment | Size |
---|---|
date-range-links.png | 18.56 KB |