Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Calendar View

Security covered Drupal 8โ€“11

Part of the Calendar ecosystem · 6 projects

View on drupal.org

Building a Calendar in Drupal is now as easy as configuring a View!

This module is a lightweight solution to display any View result set as a calendar table with a few clicks only

Zero dependencies. No JavaScript required.

Online demo

Compatible with any entity type and with most-used modules such as Date range, Smart Date, recurring dates and multi value fields too.

It respect the default View rendering, either using fields or rendered entity. You have total control hover the results display.

Out-of-the-box

  • Monthly or weekly calendar display
  • Ajax navigation by month/week (e.g. custom pagers)
  • Support one or several date fields across one or all bundles
  • Support any date field type:
    datetime
    datetime_range
    timestamp
    created
    changed
    smart_date

Bonus:

  • Supports recurring events with Smart Date module:
    drush en smart_date_recur
  • Enable the calendar_view_multiday submodule for frontend improvement of events spanning on multiple days (compatible with Drupal ^9.2):
    drush en calendar_view_multiday

Usage

  • Create or edit a View
  • Add date field(s) in Fields (exclude them from display if you want)
  • Select the "Calendar" style in format
  • Select the date field(s) to use as source(s) in calendar settings
  • Configure the rest of the calendar settings (e.g. first day of the week...etc)
  • Under "Pager", select "Navigation by month"
  • Under "Advanced", select "Use ajax"
  • Save and enjoy the view! ๐ŸŽ‰

Display all values with smart date recurring date fields

By default, all recurring values are grouped in one row, producing one View result in the Calendar only

. In order to display all the results, you need to uncheck the option
Display all values in the same row under Multiple Field Settings.

Read this guide for an example.

Use filters to reduce the size of the View result set

This is almost a requirement for Views with recurring events to prevent performance issues. The trick is to configure date filter with offset value. The Calendar plugin converts these values relative to the current timestamp.

In other words, for a Calendar by week, you should usually have:

  • field_date_range:value value greater or equal to last week/month
  • field_date_range:end_value less or equal to next week

Read this guide for the full documentation.

Limitations

  • If you use a date field from a relationship you'll need to add the field to the View. You can exclude the field from display but it needs to be placed.
  • Not really compatible with grouping๐Ÿคท although View display won't break but might be empty. It needs further testing and feedback.

Recommended modules

  • Smart Dates to easily create advanced date values including date range and other recurring events. A great module extending Drupal core date functionalities.
  • Bookable Calendar, a very easy to use Bookable Calendar module.
  • Tooltip to display anything you want in a tooltip on mouse hover. The best module to improve your Calendars frontend with dynamic information.

Similar modules

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
24
Tracked since
Jan 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.1.10 Stable 8โ€“11 Sep 23, 2024
2.1.9 Stable Aug 18, 2024
2.1.8 Stable Aug 5, 2024
2.1.7 Stable Nov 30, 2023
2.1.6 Stable Sep 29, 2023
2.1.5 Stable Sep 19, 2023
2.1.4 Stable Sep 16, 2023
2.1.3 Stable Sep 12, 2023
2.1.2 Stable Sep 11, 2023
2.1.1 Stable May 5, 2023
2.1.x-dev Dev May 5, 2023
2.1.0 Stable May 3, 2023
2.0.10 Stable Apr 14, 2023
2.0.9 Stable Mar 27, 2023
2.0.7 Stable Mar 24, 2023
2.0.6 Stable Mar 14, 2023
2.0.5 Stable Feb 16, 2023
2.0.4 Stable Feb 6, 2023
2.0.3 Stable Feb 6, 2023
2.0.x-dev Dev Feb 3, 2023
2.0.2 Stable Jan 31, 2023
2.0.1 Stable Jan 31, 2023
2.0.0 Stable Jan 30, 2023
1.0.9 Stable Jan 29, 2023