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 - Am I the only one who sees inconsistencies?

Development and Programming

Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

Repeet seems really incredible but it seems so inconsistent. I’m using code straight from http://lincolnite.com/ee/repeet/#indefinite and I’m even using the same naming convention for my fields.

when I try to click through to a single event from the calendar or from a page displaying events, sometimes it displays all the data and sometimes it doesn’t display anything. This makes repeet virtually useless unless I’m just doing something wrong… and I find it really hard to believe that so many people would recommend it if it’s this broken..

i.e.

an event with entry date of 1/9/09, expiration of 1/30/09 and repeat interval set to “1 week” DOES click through. an event with entry date of 1/16/09, expiration of 1/30/09 and repeat interval set to “1 week” DOES NOT click through. (actually anything set after todays date for the daily interval does not work)

an event with entry date of 1/5/09, expiration of 1/26/09 and repeat interval set to “1 day” DOES click through. an event with entry date of 1/19/09, expiration of 2/2/09 and repeat interval set to “1 day” DOES NOT click through.

(ooops.. posted under modules accidentally.. sorry! - maybe one of the forum dudes can move it over for me?)

       
Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

guess what guys… I DISCOVERED A PATTERN… If I’m just doing this all wrong feel free to set me straight but here’s my workaround (you’re probably all laughing right about now). I discovered a pattern with the entry date. if i set an event to have an entry date on or before today the event clicks through. If I set the entry date AFTER today’s date it shows up but it does NOT click through. here’s a scenerio:

Say today is 1/15/2009. My single day event does not start until 1/27/2009.

I WAS setting the entry date to be 1/27/2009 and it did not click through. Here is my work around:

1) I set the entry date to 1/15/2009 (today) 2) I set the expiration date to 1/28/2009 (the day after my event) 3) I set the repeat interval to none 4) I set the event_date to 1/27/2009 5) I set the exclude date to 1/15/2009 – 1/26/2009 (all the time before the event)

and it works! and I ‘think’ I can train the customer.. so I’m happy!

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
16 years ago
Mr. Wilson's avatar Mr. Wilson

You shouldn’t have to do that, but it’s an ok work-around. Repeet is definitely showing its age.

       
Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

i would be curious to know if this IS working for others in the original intended fashion. then that means i’ve really got something messed up.

whatever the case, this way for me is bulletproof and in this one website I will be putting the plugin to the ultimate test with hundreds of events ranging from one day happenings to complex conferences..

       
Les McKeown's avatar
Les McKeown
133 posts
16 years ago
Les McKeown's avatar Les McKeown

Is the show_future_entries tag any help here?

       
Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

I had that already - remember I just copied and pasted his code directly from his website. I even just threw it in the get_ids line:

{exp:repeet:get_ids weblog="events" parse="inward" calendar="yes" show_future_entries="yes"}
{exp:repeet:calendar switch="calendarToday|calendarCell" weblog="events" entry_id="{repeet:entry_ids}" interval_field="event_repeat" include_field="event_dates" exclude_field="exclude_dates" show_future_entries="yes" show_expired="yes" }
       
Les McKeown's avatar
Les McKeown
133 posts
16 years ago
Les McKeown's avatar Les McKeown

Ah - sorry. I haven’t used Repeet myself, so I was just guessing 😊

       
Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

good guess! i got excited there for a second!

       
Amarilis's avatar
Amarilis
19 posts
16 years ago
Amarilis's avatar Amarilis

HOLD THE PHONE! Les was right! a show_future_entries=”yes” IN the RIGHT SPOT fixed the problem so now I don’t have to kludge anything!!! Thank you Les!

the right spot was here:

{exp:weblog:entries weblog="events" status="open|homepage" show_future_entries="yes"}

ALSO NOTE I had to put the status field in too for it to work! boy am I a happy camper!

       

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.