I have a program and have schedule events for the month and week, I'm using fullcalendar jQuery, I'd like to disable event scheduling for the month. And schedule only by the week.
To use only the week, you can do two things:
1st - Put on startup
defaultView: 'agendaWeek',
This will cause the calendar to initialize in calendar mode.
2nd - Remove 'month' from the header
header: {
left: 'prev,next today',
center: 'title',
right: 'agendaWeek,agendaDay'
},
If you want to still disable 'allday' events, initializing
'allDaySlot': false
An example can be seen at JSFiddle
You can find more options in Fullcalendar Docs