How to make past date unselectable in fullcalendar?

I have done this in my fullcalendar and it’s working perfectly. you can add this code in your select function. select: function(start, end, allDay) { var check = $.fullCalendar.formatDate(start,’yyyy-MM-dd’); var today = $.fullCalendar.formatDate(new Date(),’yyyy-MM-dd’); if(check < today) { // Previous Day. show message if you want otherwise do nothing. // So it will be unselectable … Read more

Year View in Fullcalendar jquery plugin

FullCalendar Documentation: http://arshaw.com/fullcalendar/docs/ Loading events as JSON: http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/ Render event: http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/ Render event example: fc.fullCalendar(‘renderEvent’, { ‘id’: 1, ‘title’: ‘Test Event 1’, ‘start’: ‘2009-11-05T13:15:30Z’, ‘end’: ‘2009-11-05T13:30:00Z’ }); Limit the display of available months: Fullcalendar limit the display of available months?

Listener for “date change” in FullCalendar?

Bill, I know this question is pretty much ancient, but I needed a solution and figured I’d post it here for others. I solved the problem myself by attaching the viewDisplay event to my calendar (this event was removed in v2 of FullCalendar, viewRender may be used instead). $(“#calendar”).fullCalendar({ viewDisplay: function (element) { } }); … Read more

HTML in title string of fullcalendar jquery plugin

I did this instead as the other views use the same class but not spans and I forced in the title from the event rather than making an additional request for the text. eventRender: function (event, element) { element.find(‘.fc-event-title’).html(event.title); } In v2, you may use: element.find(‘span.fc-title’).html(element.find(‘span.fc-title’).text()); The span class is fc-title as opposed to fc-event-title. … Read more