Shift A works (black) oct 2,4, then four days off 9,11,13 then four days off....
Shift B works (red) works oct 1,3 then four days off 5,7,9...
Shift C works (green) works oct 1, then four days off 6,8,10...
it works out so each shift works 1 day on 1 day off 1 day on,4 days off. Two of the shift will work every other day while the third is on a four day(off).
Any help would be great.
Thanks
You mean without actually adding any events to the calendar? I'm sure it may be possibly but have no idea the formula you'd use nor what template changes would be necessary.
The calendar cell background colour is set with the following line in the default.html template file. Your modifications may need to go in place of it.
BGCOLOR="<%IF SELECTED%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%ELSE%><%=$_GRID_CELL_BGCOLOR%><%/IF%>">
If you're willing to actually enter the shift dates, you can colour code their titles which appear on the calendar grids using something like proposed in the previous forum message "Color coding Events".
Dan O.
[This message has been edited by DanO (edited October 09, 2004).]
Here's the concept
3 shiftsEach shift works 3 days 24on / 24off / 24on / 24off /24on 4 days off.This is called a "set" where we work.
So if you schedule the 1st work day of the set on the 1st of the month it would repeat 9 days later. Each workday would repeat 9 days later. You would only have to do three days (1st, 2nd, 3rd) and you could have a complete schedule for that shift.
To do the other shifts, just repeat the process for them the same as before, 1st (repeat 9 days later) 2nd (repeat 9 days later) 3rd (repeat 9 days later).
Sounds screwy but it works flawlessly on MS Outlook.
All that is necessary is a mod that will allow you to repeat events "X of days" (in our case X=9)
------------------
All that necessary is to be able to define the schedule (ie. "set") somewhere then repeat it every x number of days.
The problem as I see it is that if you defined the schedule and started it on say January 1st, when August roles around and the calendar needs to display those events, it has to go back to January and has to calculate from there where the shift is in the particular month being viewed.
I'm sure it is possible but as I said, I don't know the formula to make the calculations the calendar will need to accomplish it, easier.
Maybe someone with enough interest in it will create a mod to allow it or Matt will think it's a worthwhile enough request to put the effort into creating it for a future version?
JMO
[This message has been edited by DanO (edited October 22, 2004).]
Garry
------------------__________________________Captain Garry LienhardCowlitz County Fire Dist 6