On monthly view would like to show events on grayed out dates (that are technically the previous or next month)

Created on 30 April 2025, 12 days ago

Awesome module, it works great! What I think would improve it would be if there was a way to show on the monthly view dates that are not technically part of that month. So for example the month might end on the 30th and the calendar might show the 1st 2nd and 3rd of the next month grayed out. The impression is given that there are no events on those dates, but if the person clicks to the next month they see there is in fact events on those dates. Why not show data on those dates even though it's technically not the current month? Is there a way to add this functionality?

Note this is the same as this issue although this was related to the 7.x code https://www.drupal.org/project/calendar/issues/2254177 โ†’

Thanks for all your hard work!!

โœจ Feature request
Status

Active

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States plato1123

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @plato1123
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada joelpittet Vancouver

    Iโ€™m thrilled to see patches that get this working, or at least partially working! The idea is really interesting, and I totally agree thatโ€™s how most calendars work.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States plato1123

    I think this should be the default behavior, it's probably better functionally and aesthetically, and if someone prefers not to show events that are out of month it's an easy CSS hide on the grayed out dates. I think this is one of my favorite Calendar implementations I've seen anywhere (fantastic job guys!) so I hope we can pull it off.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States plato1123

    Note I was able to override this behavior and fill in the gray adjacent dates with a custom module. It creates a custom plugin that overrides this behavior (see the readme.md). Note I've only tested this with the 8.1beta3 version of this module on Drupal 10.

Production build 0.71.5 2024