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 have following problem with date and week calendar views (using the dev releases of date and calendar from 2009-Feb-18 and views 6.x-2.3):
When I st time grouping in a date view to "Hour" I see all date nodes of a day (see attached screenshot "day_view_with_hour_grouping.jpg"). But when I set time grouping to "None", I see not all date nodes any more (see attached screenshot "day_view_without_grouping.jpg"). The same happens in week views.
Comment | File | Size | Author |
---|---|---|---|
day_view_without_grouping.jpg | 31.25 KB | brahms | |
day_view_with_hour_grouping.jpg | 59.72 KB | brahms |
Comments
Comment #1
NickSI CreditAttribution: NickSI commentedThe bug seems to be in theme.inc
$item variable in foreach statement is an array or node (all events for an hour), not just node. So it is nessesary to add an extra foreach loop as in code below.
Comment #2
brahms CreditAttribution: brahms commentedTank you Nikolai, this solves the problem. The same fix is needed for the week display. I attach a patch file for release 6.x-2.x-dev from 2009-Feb-18. (The patch file has to be applied form the parent directory of the calendar module folder.)
Comment #3
brahms CreditAttribution: brahms commentedUps, the attach button did not work, I hope this time the file gets uploaded.
Comment #4
brahms CreditAttribution: brahms commentedAnd a last try for the attachment...
Comment #5
solide-echt CreditAttribution: solide-echt at Solide BV commentedThe D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.