I'm not sure if this is an issue with the Calendar, Date Repeat API, or more then likely a User Error by myself.

Version Information:
Calendar - 6.x-2.2
Date Repeat API - 6.x-2.6

I created an Event that is suppose to start on September 14th, and repeat every Tuesday, until December 2nd.

When you view the Node's Repeat Tab, it shows correctly (See Attachment node-repeats-tab.jpg).

When you look at the Calendar Block (See Attachment calendar-block.jpg) or Block View, the event does not show for the 21st or 28th of September. This also occurs in October and November for certain Tuesdays. (Can view it online here: http://www.sprowt.ca ). Note: I've looked at the css theming and the event is not showing "on" for those dates, so it's not a theming issue.

If you view a day that the Event is showing on in the Calendar, for example, October 5th. It's also not showing in the Day View (See Attachment day-view.jpg).

I've also attached a screenshot of the Node Settings (See Attachment node-settings.jpg) and Views Setting (See Attachment views-settings.jpg), along with the Views code (See Attachment views-calendar-code.txt) that may help in debugging if someone could help please.

Any assistance is greatly appreciated. I've never used Date Repeats before, but after trying many different settings (flushing cache) and not having any success, I decided to post. I'm probably doing something wrong, somewhere.

Should a support request like this be posted in the regular Drupal Forum?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

woodp’s picture

Exact same issue here. Repeating events show up fine in the node display, but don't show up in the Calendar and Upcoming Events blocks. As the event date passes, the old date doesn't disappear from the blocks, but the next date also doesn't show up in the blocks.

I had one commenter offer there's a problem with Date/Calendar/View but offered no further details. Now I see that CCK and Views have new alpha/dev versions and I'm tempted to give them a spin.

Calendar 6.x-2.2
CCK 6.x-2.8
Date API 6.x-2.6
Views 6.x-2.11

Have you had any resolution?

ejohnson’s picture

Unfortunately, woodp, I never did resolve this problem. I moved on because some of the "repeating events" requested by the client needed a slightly different 'description' entered. So, to save me from losing any more hair on this issue, I ended up just sucking it up, and entering each event individually.

Maybe a newer version of some of the modules used may resolve this problem.

Sorry, I don't have an answer. If you do resolve this problem, providing an answer in this thread would be helpful. Thanks.

bdlangton’s picture

I had a similar issue. I had an event repeating every Monday, but on the month view it only showed on the first Monday of each month. I fixed it by changing the view settings of "Distinct" to no. It looks like you have distinct set to yes, so that could potentially fix that problem. However, your problem of it not showing up in day views either is confusing. I never had that problem, but maybe my suggested change would fix that as well. If not, I'm not sure.

tomogden’s picture

Confirmed. I was seeing the same behavior, and turning off DISTINCT fixed the issue.

How can we document this or put notice somewhere to prevent others from getting caught by this behavior?

woodp’s picture

Title: Repeating Date Event not showing properly in Calendar » Solution - Repeating Date Event not showing properly in Calendar
Version: 6.x-2.2 » 6.x-2.4
FileSize
13.62 KB
41.17 KB
5.05 KB
5.01 KB

In my case, the problem was a poorly defined CCK field. In the way of a tutorial, here's the process that now works for me:

  • Enable the Date Repeat API module
  • When defining a "Time" field for the CCK event, use one of the widgets that includes "Repeat options".
  • Set Basic Settings | Distinct to "No."
  • Clean up the display by "Show 1 value starting from now" and "Hide display rules" for the node display.

What I observed about the "Distinct" setting - If I had a weekly event, with distinct=yes, then only the first event of the month showed up in calendar view. Setting distinct=no would display *all* weekly events in a month calendar.

woodp’s picture

Status: Active » Closed (works as designed)
Skidz’s picture

Version: 6.x-2.4 » 6.x-2.x-dev
Status: Closed (works as designed) » Active

I've followed the steps in #5, but I'm still seeing only one instance per view of a repeating event. I have an event set to repeat weekly (saturdays) from Feb. 4 2012 to April 28 2012, with exclusions March 31 and April 7. When I display the year view, only the first occurrence of the event is visible. When I display the month view, only the first occurrence in each month is visible. Distinct is set to no for all of the displays in the calendar view.

Skidz’s picture

Status: Active » Closed (works as designed)

After reverting back to the default view and cloning it again and redoing my customisation, I can now see my repeating events, except that now date fields which are excluded from display are displaying in the month view. Guess I need to figure that one out now... -sigh-