I’m doing experiments with dhtmlScheduler 3.0, and I’m having difficulties with time slots.
I have three types of time slots: free, where the user can put events; soft-blocked, where the user is not supposed to put event but exceptionally can; and blocked, where the user can’t put events.
Actually I use a dynamic-generated background in the week view to simulate soft-blocked time slots, generating an image with different background color for those slots, showing to the user visually and let him decide.
For the totally blocked slots I wish to use the blockTime feature but:
- in the last example of the documentation - scheduler.blockTime(0, “fullday”,“weekly”) - there’s a third undocumented paramenter “weekly”: which values are valid and how can I use it?
- is there a way to block for example from 12:00 to 13:00 of every day? Actually I’ve added the blocktime seven times (one for each weekday)
In general I think there’s a bit lack of “control” if we have to manage a simple calendar but with slightly complex blocked timeslots (for example: “we cannot put meetings in this room the second and fourth monday of each month”, or “we are closed every sunday, except the first of each month”). Also I’ve feelt the lack of the possibility to set a background (or a style, in general) at time step level, forcing me to fall to the dynamic-background solution.
Thanks in advance, hope that my suggestions helps you.