We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Repeet problem - some dates of an event don't appear in a list

Development and Programming

xlawdog's avatar
xlawdog
62 posts
16 years ago
xlawdog's avatar xlawdog

I am pulling a list of the upcoming occurrences of an event from the calendar. This event occurs on the first and third Sundays of each month, with a couple of custom dates added. All dates appear correctly on the calendar (well, for one the time is actually off, but I’ll ignore that for now).

But the list is not displaying all events in the specified time period (the next year). At the moment, only the next occurrence appears (which happens to be one of the custom dates). If I remove that date, no upcoming occurrences are displayed at all.

Here is the code from my template:

<h3>Upcoming Meetings</h3>
{exp:weblog:entries weblog="calendar"}
<ul>
{exp:repeet:list_dates from="today" to="1 year" entry_date="{entry_date format="%Y-%m-%d %H:%i"}" expiration_date="{expiration_date format="%Y-%m-%d %H:%i"}" interval="{event_repeat_interval}"}
{repeet:include_dates}{event_include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{event_exclude_dates}{/repeet:exclude_dates}
{repeet:display}<li>{repeet:start_time format="%F %j"}</li>{/repeet:display}
{/exp:repeet:list_dates}
</ul>
{/exp:weblog:entries}

This is especially frustrating because it had been working when the page was first published. But when I happened to check it today, it’s no longer working correctly. There have been no intervening changes to the template.

Any suggestions? I’d like to use the code to display similar lists of other events on other pages.

       
xlawdog's avatar
xlawdog
62 posts
16 years ago
xlawdog's avatar xlawdog

It just occurred to me that between the original publication of this page, when all dates appeared, and today, when they don’t, I updated EE from version 1.6.4 to 1.6.6. Does version 1.6.6 interact differently with Repeet, causing this glitch?

       
Chad Crowell's avatar
Chad Crowell
242 posts
16 years ago
Chad Crowell's avatar Chad Crowell

I am seeing the same exact problem and I bet you are correct. I have narrowed it down to events with a repeat interval of “this relative day of the month” having issues. I bet you have it right. Have you contacted the Repeet dev?

       
Chad Crowell's avatar
Chad Crowell
242 posts
16 years ago
Chad Crowell's avatar Chad Crowell

I emailed the developer- we’ll see.

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
16 years ago
Kurt Deutscher's avatar Kurt Deutscher

I can confirm this on a site we just updated.

       
Chad Crowell's avatar
Chad Crowell
242 posts
16 years ago
Chad Crowell's avatar Chad Crowell

Damn… this is really bad timing. I haven’t heard back from the dev yet.

       
webnology's avatar
webnology
352 posts
16 years ago
webnology's avatar webnology

Also left a message there. No answer. I’m having kind of the same problem.

       
xlawdog's avatar
xlawdog
62 posts
16 years ago
xlawdog's avatar xlawdog

Has anyone heard anything on this? I haven’t been able to solve it. Any chance that EE 2.0 will handle it differently?

       
Chad Crowell's avatar
Chad Crowell
242 posts
16 years ago
Chad Crowell's avatar Chad Crowell

Haven’t heard anything yet other than an “i’ll take a look at it” from him when I first found the issue. Several emails since then and no response.

An easy workaround is to set the interval to NONE where you would normally set it to “this relative day of the month” and then manually type the actual event dates into the include dates field. Since its only one date a month you can fill in a whole year of dates in a few minutes. Maybe he’ll fix it by then…

As for 2.0- if he doesn’t update it now I wouldn’t bet on it being updated for ee2 compatibility.

       
webladybug's avatar
webladybug
9 posts
16 years ago
webladybug's avatar webladybug

any word on this? items set to this relative day of the month are not showing up in the list but they are showing up correctly on the calendar.

       
Avi Frier's avatar
Avi Frier
59 posts
15 years ago
Avi Frier's avatar Avi Frier

Was there any resolution to this? I’m going out of my mind here!

       
xlawdog's avatar
xlawdog
62 posts
15 years ago
xlawdog's avatar xlawdog

No resolution that I’m aware of. I gave up after a while. Chad’s workaround is probably the best way to go for now.

I’m really hoping that repeating events can be handled in EE 2.0.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.