The dates for every day are missing in the week view.
In calendar 6 they were in the same row as the whole day events below the row with the name of the day. It could be interesting to compare with iCal and Google Calendar where the dates are in the same row as the name of the day.
(And furthermore in the iCal and Google calendars the headers display the dates of the week as a range but in the drupal calendar we see only the first date of the week.)
Calendar 7.x-3.x-dev (2011-Aug-07)
Date 7.x-2.x-dev (2011-Aug-12)
Views 7.x-3.x-dev (2011-Aug-11)
Many thanks for Calendar 7.3 not to forget the new design of the views!
Henrik

Comments

Status:Active» Fixed

But it is possible that a fix I just committed for #1260380: Events for times after 6pm show up on following day in Day view. will also fix this. Test by getting the very latest dev versions of both Date and Calendar with today's commits, which will show up in tomorrow's tarball.

Status:Fixed» Active
StatusFileSize
new39.11 KB

Thank you Karen for looking into this!
However there are still no dates in the week view. I also got error messages (only in the week view):

Notice: Undefined index: groupby_times in template_preprocess_calendar_week() (line 477 of /Users/henrik/Sites/drupal/calendar7/sites/all/modules/calendar/theme/theme.inc).
Notice: Undefined variable: divisor in template_preprocess_calendar_week() (line 490 of /Users/henrik/Sites/drupal/calendar7/sites/all/modules/calendar/theme/theme.inc).
Warning: Division by zero in template_preprocess_calendar_week() (line 490 of /Users/henrik/Sites/drupal/calendar7/sites/all/modules/calendar/theme/theme.inc).
Notice: Undefined variable: divisor in template_preprocess_calendar_week() (line 491 of /Users/henrik/Sites/drupal/calendar7/sites/all/modules/calendar/theme/theme.inc).
Warning: Division by zero in template_preprocess_calendar_week() (line 491 of /Users/henrik/Sites/drupal/calendar7/sites/all/modules/calendar/theme/theme.inc).

Using Calendar 7.x-3.x-dev (2012-Jan-01), Date 7.x-2.x-dev (2012-Jan-01) and Views 7.x-3.0
All best / Henrik

+1 calendar is working, but lost of error messages in the week-view...

Same errors as #2 with Calendar 7.x-3.0-alpha2 and Date 7.x-2.0-rc1

Also same errors as #2, using latest dev versions of Date and Calendar, as of the date of this comment. (Just did a git pull on both.) Interestingly, I did not see these errors until updating to the dev versions. I updated my calendar views to use Calendar Entities instead of Calendar Items, but that made no difference.

@#5 dhalbert, how did you switch to Calendar Entities, given #1394108: New Calendar Entities Format not working!?

@Joel MMCC #6: I saw your reported bug, but I did not encounter it when switching to Calendar Entities.I cannot remember if I saved the entire View after changing each subpart of it. I did clear the cache beforehand, for other reasons. But otherwise I did exactly what you did in your scenario.

My Calendar view was a clone of the original Calendar view, from a few versions ago.

The versions of Calendar and Date I was using were the absolute latest versions (from git pull) at the time.

Followup to #7 and perhaps crucial difference: I am not using the dev version of Views: I am using Views 7.x-3.0. (I see from your Dates stopped displaying entirely on about ½ of Events! report that you are using the dev version of Views.)

Thanks, dhalbert. I use the -dev versions because KarenS’s instructions for her Date and Calendar modules say to always use the latest -dev versions of Calendar, Date, CTools, and Views, and to update them together.

I've also experienced #2's errors in my week view only after updating to the latest versions:
http://drupal.org/node/1398584

Category:task» support
Status:Active» Postponed (maintainer needs more info)

Please use the latest dev versions of both Date and Calendar until I get a new release tagged. Start over and create a new view using the new template. You'll see a link at the top of the Views list that says 'Add view from template'.

Title:Dates missing in week viewDates missing in week view, possible Fix

I disabled my old (upgraded) Calendar View and customized the "official" one,
all problems gone !

I don't know why, because I couldn't find any difference between the Upgraded (old) View and the new
Cutomized View.
Environment:
Drupal core 7.12
Views 7.x-3.2, Chaos tool suite (ctools) 7.x-1.0-rc1,
Calendar 7.x-3.0-rc1, Date 7.x-2.1

I had the groupby_times error, an Ajax error and missing Date Entries in the week Calendar.

Status:Postponed (maintainer needs more info)» Fixed

If moving to the latest code and using the provided views fixes the problem, this is taken care of.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Status:Closed (fixed)» Active

Im am still having this same problem running all the latest dev versions of relevant modules. I created my views from the 'add view from template' option but the week display is missing dates.

drupal 7.15
ctools 7.x-1.2+4-dev
views 7.x-3.5+14-dev
calendar 7.x-3.4+1-dev
date 7.x-2.6+1-dev

Any idea why this fixed issue is cropping up again?

Thanks

StatusFileSize
new9.47 KB

First you need to copy calendar-week-overlap.tpl.php from calendar/theme to your custom Drupal theme and add the following lines

- add this code before html code - after line 30

<?php
$start_date
= date_format($view->date_info->min_date, 'U');
?>

- after link 40 "

 

" replace the following code

      <?php foreach ($day_names as $cell): ?>
        <th class="<?php print $cell['class']; ?>" id="<?php print $cell['header_id']; ?>">
          <?php print $cell['data']; ?>
        </th>
      <?php endforeach; ?>

with this code

      <?php $i = 0; foreach ($day_names as $cell): ?>
        <th class="<?php print $cell['class']; ?>" id="<?php print $cell['header_id']; ?>">
          <?php print $cell['data']; ?>, <?php print date('d', strtotime("+$i day", $start_date)); $i++ ?>
        </th>
      <?php endforeach; ?>

I also attached the entire template file with this comment

First you need to copy calendar-week-overlap.tpl.php from calendar/theme to your custom Drupal theme and add the following lines

- add this code before html code - after line 30

<?php
$start_date
= date_format($view->date_info->min_date, 'U');
?>

- after link 40 <th class="calendar-agenda-hour">&nbsp;</th> replace the following code

      <?php foreach ($day_names as $cell): ?>
        <th class="<?php print $cell['class']; ?>" id="<?php print $cell['header_id']; ?>">
          <?php print $cell['data']; ?>
        </th>
      <?php endforeach; ?>

with this code

      <?php $i = 0; foreach ($day_names as $cell): ?>
        <th class="<?php print $cell['class']; ?>" id="<?php print $cell['header_id']; ?>">
          <?php print $cell['data']; ?>, <?php print date('d', strtotime("+$i day", $start_date)); $i++ ?>
        </th>
      <?php endforeach; ?>

I also attached the entire template file with this comment

Awesome. Thanks.