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 Module Help

Development and Programming

leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

Hello! I have been trying and trying…but I cannot seem to get the Repeet modile to work right for me. I have an event that repeats on x amount of days. though the output of this

5/29/2008 01:00 PM 5/30/2008 01:00 PM 5/30/2008 08:00 PM 5/31/2008 08:00 PM 6/01/2008 07:00 PM 6/03/2008 08:00 PM 6/04/2008 08:00 PM 6/05/2008 08:00 PM 6/06/2008 08:00 PM 6/07/2008 08:00 PM

gives me this:

* Friday, August 08, 2008 5:00 PM - 5:00 PM * Saturday, August 16, 2008 5:00 PM - 5:00 PM * Saturday, August 02, 2008 7:10 AM - 7:10 AM * Friday, July 18, 2008 4:00 PM - 4:00 PM * Monday, July 07, 2008 6:00 AM - 6:00 AM * Tuesday, June 03, 2008 5:00 PM - 5:00 PM

As you can see it’s not even close. Maybe I am not doing the calls right but I took the example right off the site. Has anyone done this for a single event with multiple dates for the event?

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

Just checking to see if anyone has experience with this module and can help me out?

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

ping pong, anyone!

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

Have you looked here for info?

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

Hey Erin, I sure have and I need help with my example, please:)

       
rockthenroll's avatar
rockthenroll
485 posts
17 years ago
rockthenroll's avatar rockthenroll

Under where you mentioned “the output of this” - where are you putting those dates? Include dates? Exclude dates?

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

Ok I have got no here:(

I don’t use the exclude dates but what it’s doing is just pulling all dates that I have in the additional dates custom field. eeek, help!

       
rockthenroll's avatar
rockthenroll
485 posts
17 years ago
rockthenroll's avatar rockthenroll

By “addittional dates custom field” what do you mean? The include dates? The repeat interval? Make sure you’re only using the custom fields they specified you can use.

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

I don’t use the exclude dates and I manually put in daily as the interval. I only use a custom field I created called events-extra-dates with the dates listed.

       
rockthenroll's avatar
rockthenroll
485 posts
17 years ago
rockthenroll's avatar rockthenroll

Can you post the template code?

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

This is pretty much what I am using.

{exp:weblog:entries weblog="events" limit="1" show_future_entries="yes"}
<h1>{title}</h1>
<h2>Coming occurrences of this event:</h2>
<ul>{exp:repeet:list_dates from="00:00" to="5 years" entry_date="{entry_date format="%Y-%m-%d %H:%i"}" expiration_date="{expiration_date format="%Y-%m-%d %H:%i"}" max_list="25" interval="daily"}
{repeet:include_dates}{events-extra-dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}{events-extra-dates}
{/repeet:display}
{/exp:repeet:list_dates}
{/exp:weblog:entries}
       
rockthenroll's avatar
rockthenroll
485 posts
17 years ago
rockthenroll's avatar rockthenroll

Recheck the available values for your parameters. For example from=”00:00” doesn’t appear to be a valid value. http://lincolnite.com/ee/repeet/#list_dates

Things like this can easily throw off the code and display incorrect dates.

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

ok checked that one and used the example code

from=”today” to=”1 year”

still not showing results:(

       
rockthenroll's avatar
rockthenroll
485 posts
17 years ago
rockthenroll's avatar rockthenroll

Not sure… Does it work when you use the “repeat interval” custom and have it go for consecutive days? This will help narrow down whether it’s an issue with that specific custom field.

       
leadsuccess's avatar
leadsuccess
408 posts
17 years ago
leadsuccess's avatar leadsuccess

tried that to and did not display dates, interval set for 5 days.

{exp:weblog:entries weblog="events" limit="1" show_future_entries="yes"}
<h1>{title}</h1>
<h2>Coming occurrences of this event:</h2>
<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"}" max_list="25"}
{repeet:interval}{repeat_inval}{/repeet:interval}
{repeet:include_dates}{events-extra-dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}{events-extra-dates}
{/repeet:display}
{/exp:repeet:list_dates}
{/exp:weblog:entries}
       
1 2

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.