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.
I was having problems getting certain date fields to produce results in my calendar view when using views 3. I noticed that even though my query returned results and the results variable in the $view object contained data, that data was not being displayed on the calendar. Turns out if the field name's length is too long then views3 will truncate the alias, and calendar is not accommodating for that correctly.
Attached is a patch from this issue related to the d7 version of calendar.
Comment | File | Size | Author |
---|---|---|---|
#1 | calendar-6.x-2.4-truncate-alias.patch | 1.94 KB | terbs |
Comments
Comment #1
terbs CreditAttribution: terbs commentedComment #2
bobmarchman CreditAttribution: bobmarchman commentedConfirming. I was experiencing the same issue. Applied this patch and now my events are showing.
Comment #3
Encarte CreditAttribution: Encarte commentedI think patches should be against the latest dev, right?
Comment #4
TajinderSingh CreditAttribution: TajinderSingh commented#1 worked
Comment #5
apadernoI am closing this issue, since it's for a Drupal version no longer supported.