Is there a way to make a range of event_id readonly? I will populate my database manually with events with event_id, say 1-9999, that will be readonly. All user created events will start at event_id 10000 and they should be able to be modified.
Can my range from 1-9999 be set to readonly with wordpress installation? Is there a database field to add? Some code and scripts to add? etc.
Much appreciated, your calendar/scheduler is very cool by the way.
That worked perfectly.
Thank you so much for the quick reply.
I have also added
scheduler.attachEvent(\"onBeforeDrag\",function(ev){
if (ev.id < 9999) return true;
return !scheduler.getEvent(ev).readonly; //block drag for readonly events
})
to block the readonly events from being dragged.
There is still one big issue.
The month view works and is locked down where needed.
I have found that in the week and day views that you are still able to use the quick edit feature, that does not use the lightbox, to update these events. I’m talking about the yellow box in the week and day views that becomes editable when you click the pencil icon.
Before editable:
After editable:
Any idea how to lock this down for the same readonly events?