Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)Getting all occurences in a recurring schedule
Pages: [1]   Go Down
Print
Author Topic: Getting all occurences in a recurring schedule  (Read 357 times)
0 Members and 1 Guest are viewing this topic.
sdntcom
New Member
*

Karma: 0
Offline Offline

Posts: 0

Programmer


WWW
« on: June 09, 2003, 04:08:00 PM »

Hi,

I am using ver. 3.2

I am usign the cal. with another perl program.
I want to make it so that if I add a recurring event (say every Fri) when I save the schedule it will go and create a file for every date for the recurring schedule. I know that would thus make it a non-ending loop, so possible make a recurring schedule for and create the file for year.

I can get it to create file in a static mode when you select each date. I can't get it to work using the from and to dates. I would like it to work for all of them.

Please HELP:

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: June 09, 2003, 09:28:00 PM »

** I want to make it so that if I add a recurring event (say every Fri) when I save the schedule it will go and create a file for every date for the recurring schedule. **

That has been discussed in the previous forum message "Recurring Events Display" and the messages link from it.

I don't think a solution was ever posted for it. TubaDave was thinking about trying to implement it before he disappeared (the second time     ) as you can read in "SplitRecurrences plugin".

If you're going to attempt to program it yourself, the following message might be of interest as well? "Bounded recurring events plugin?"

Dan O.

[This message has been edited by DanO (edited June 09, 2003).]

Logged
sdntcom
New Member
*

Karma: 0
Offline Offline

Posts: 0

Programmer


WWW
« Reply #2 on: June 09, 2003, 11:38:00 PM »

Dan,

Thanks for the quick response.

Before submiting my first post, I went through everything for resurring or scheduling.

I think I should define a litle better:

I have edited the EVENT.inc file to add a subroutine at the end that creates a new file (unrelated to the cal) in a seperate dir.

I think my question is this.

on the schedule_event_non_recur.html file where you select each dates for an "event" it works great for what we are doing.

><: after that there is the "Date Range" part.
Is there a way to get the days between the start and end date?
Lets say start is:06/10/03 end: 06/15/03 when I hit save it will go and say there are 5 individual dates, then run my sub-routine for each of the 5 days.

for the schedule_event_recurring.html:

for the recuring section:
BTW: I did like the "Bounded recurring events plugin?"
I understand it adds one "record" per "Event Title"
What I need is when it is using the EVENT.inc file it gets the date for "every fri" for the year 2003. then for every date it runs my sub-routine.

Mainly I need to create a new file for every date in a recuring schedule.

I hope this sheds some more light on what I am trying to do.


------------------

[This message has been edited by sdntcom (edited June 09, 2003).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: June 10, 2003, 11:14:00 AM »

I just finished a plug-in which will convert all recurring events, events with multiple dates and events with a 'date range' to individual events so each is separately editable. It also has configuration variables to allow you to set how many days, months and years from present an un-bounded recurring event will be scheduled for.

You can read more about it in the previous forum message "SplitRecurrences plugin" (which I updated today).

Dan O.

[This message has been edited by DanO (edited June 14, 2003).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #4 on: June 14, 2003, 05:20:00 PM »

Oops. See above.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: