Re: [MRBS-general] Repeat Bookings each 9 days
Brought to you by:
jberanek
From: Gavin W. <ga...@th...> - 2004-03-29 20:44:44
|
A suggestion would be as follows: 1) in lang.en define a new rep_type after line 71 e.g. $vocab["rep_type_7"] = "7 day cycle"; 2) in mrbs_sql.inc add a new case statement to the function mrbsGetRepeatEntryList to handle your new rep_type after line 317 e.g. case 7: $day += 9; break; Line numbers are correct for code in cvs repository. I think that this may be all that is required. Note: I haven't tested this. Regards Gavin On Fri, 2004-03-26 at 02:54, Andrew Sidebottom wrote: > We have implemented the mrbs program in a school setting that runs on a > 7 day cycle. This means that we word on day 1, 2, 3, 4, 5, 6 & 7 > instead of Monday - Friday. So if a class is on a Monday one week it > will not be on again until Wed the following week. What I am needing to > do is modify the code so I can easily do this. Any suggestions?? > Pointers etc?? |