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 interval issue

Development and Programming

Capt'n Morgan's avatar
Capt'n Morgan
20 posts
18 years ago
Capt'n Morgan's avatar Capt'n Morgan

So I finally got repeet working after about 6 hours. Mostly because I didn’t name the custom fields right, or didn’t notice the part in the code where you can specify what you called them. :blank:

I still have a long ways to go, but I’m glad I finally have events repeating!

There’s one thing I’m currently hung up on, and maybe I just don’t know the proper usage.

If I select a start date on the first monday of the month, and a end date at the end of the month, and then select monday as the interval date, shouldn’t the date show up on every monday in that month?

The only way I can get it to show up on each monday is if I enter the dates in the “include_dates” field. It doesn’t seem like that’s the way it should be working though.

What might be causing it to function like that?

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

Hi Capt’n,

Given your setup, you should be able to use an interval of “1 week”. (Alternately you could use “days of the week: 1”) As you noted, you should not have to mess with the include dates field for a simple interval like that.

Have you customized your lang file at all? That could be a source of your problems.

       
Capt'n Morgan's avatar
Capt'n Morgan
20 posts
18 years ago
Capt'n Morgan's avatar Capt'n Morgan

Thanks, Mr. Wilson. That worked well using 1 week.

I might have created the custom field incorrect, as the value I included for interval was “mondays” – not “days of the week: 1”. The language file apparently will change what that reads as on the publish form then, correct.

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

In your interval drop-down, you can have an entry like “Mondays”. Then in your lang file you will put:

'mondays' =>
"days of the week: 1",

Hope that helps.

       
Capt'n Morgan's avatar
Capt'n Morgan
20 posts
18 years ago
Capt'n Morgan's avatar Capt'n Morgan
In your interval drop-down, you can have an entry like “Mondays”. Then in your lang file you will put:
'mondays' =>
"days of the week: 1",
Hope that helps.

Hmmm… this isn’t working for me like it should.

I have in lang.reepeat.php

'This entry does not repeat' =>
"none",

'mondays' =>
"days of the week: 1",

And for the repeat_interval value, I put in my drop down list field:

none mondays

Do I have that right, or do I actually specify the “non-friendly” version, as a value in the drop down menu?

Either way I try it, I can’t get it to repeat properly? If I choose no interval, it displays on the day it should, if I select mondays, it doesn’t show at all?

And I going about it the right way?

Earlier when I had “daily” as a value - it worked just fine.

       
Capt'n Morgan's avatar
Capt'n Morgan
20 posts
18 years ago
Capt'n Morgan's avatar Capt'n Morgan

I can get most to work, like weekly, weekends, every 3 days, etc., but no luck with the the following:

‘Mon. Wed. Fri.’ => “days of the week: 2, 3, 5”,

That only shows the even on Monday and Friday!!

??

       

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.