- πΊπΈUnited States mjchadwick
When I try to use this patch (which fails via composer, but seems to work if you manually hack the module), I get the new arguments in contextual filters, but if I try to use one of them I get a "The handler for this item is broken or missing" error.
- Status changed to Needs work
over 1 year ago 8:02am 29 July 2023 - π¨π¦Canada mandclu
It seems like additional work is needed to get this working so updating the status to reflect that. Also trying to increase the visibility on this issue, since it would be great to get these modules working together.
- πΊπΈUnited States veronicaSeveryn
Found a minor issue with the FullDate argument. Views module provides it as "date_fulldate", and not "date_full_date" (for Datetime module it is defined as "datetime_full_date"). Updated a patch with just this change. The rest worked for me - allowed to select granular Views arguments for the Calendar module (version 1.x-dev as of Sep 30, 2023) with SmartDate (version 4.0.0-alpha1) and Drupal Core 9.5.11 .
Have the following patches in place to make things work together:
"drupal/calendar": {
"view_args always contains the current date when using ajax pager: https://www.drupal.org/project/calendar/issues/2858086 π view_args always contains the current date when using ajax pager Postponed: needs info ": " https://www.drupal.org/files/issues/2022-04-19/calendar-view_args_ajax_f... β ",
"Check argument validity when using getDisplayForGranularity: https://www.drupal.org/project/calendar/issues/3197276 β ": " https://www.drupal.org/files/issues/2022-10-06/calendar-getDisplayForGra... β ",
"Support for Smart Date, other contrib modules: https://www.drupal.org/project/calendar/issues/3177761 β ": " https://www.drupal.org/files/issues/2022-06-13/3177761-6.calendar.Suppor... β "
},
"drupal/smart_date": {
"Support Calendar module: https://www.drupal.org/project/smart_date/issues/3177760 β¨ Support Calendar module Needs work ": " https://www.drupal.org/files/issues/2022-06-13/3177760-5.smart_date.Supp... β "
}, - Status changed to Needs review
about 1 year ago 2:19pm 30 September 2023 - π¨π¦Canada mandclu
Thanks for the new patch, and the feedback. Based on your experience, would it make sense to move the Calendar issues to RTBC?
- πΊπΈUnited States apkwilson
I've just set this up using #13 and the patch in #3177761-6: Support for Smart Date, other contrib modules β . Aside from having to add the date contextual filter before selecting the calendar format, the experience was seamless. I'd say RTBC.
- πΊπΈUnited States apkwilson
I did end up seeing duplicates calendar items, per grahamC in #10. I created another issue in the calendar queue, π Duplicate rows for some entities with multiple entity references Active , which addresses the problem in the way grahamC suggests.