I upgraded from 6.x-1.3 to 6.x-1.4 and now the calendar only shows one content type with a date field in it. Previously it worked perfectly with as many content types as had date fields. I'd really love to use this module for production use, however unable to make it work. Thanks.

Comments

aspilicious’s picture

I advise upgrading to 6.2 alpha version as it will give you more control over your settings. You can define which fields will be displayed in your calendar. I *think* the 6.1 version will be deprecated when the 6.2 version is completely done :).

BUT

This is still a bug IF it worked like you described in previous versions. But I never worked with those versions, I'll leave it to Timplunkett to answer your question.

aspilicious’s picture

Open the fullcalendar.module file an try this:

Search for

  // Iterate through available fields, using the first one found.
  foreach ($display_field as $field_name => $field) {
    foreach ($node->$field_name as $index => $item) {
      $attributes = _fullcalendar_set_display_times($node, $field_name, $field, $item);
      $vars['data'][] = theme('fullcalendar_link', $node, $attributes, $index);
    }
    break;
  }

And remove the break.
I don't fully groke the old code but I think that should work.

I'm not sure this is a bug or by design...

CinemaSaville’s picture

Status: Active » Fixed

OK, I figured it out, it was the amount of nodes listed was limited to 10, I don't know why that wasn't an issue before, but it's fixed. Thanks so much for your help. Just great knowing that you're there. Peace.

Status: Fixed » Closed (fixed)

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