I am using jquery full calendar http://arshaw.com/fullcalendar to display the meetings .
I just want to confirm it that it is possible to add an event(Let’s a create a new meeting
using php ajax ) on a particular date using this .?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve used fullcalendar extensively and yes, adding events on specific dates is a core feature of it.
You’ll need to understand the event object structure(see http://arshaw.com/fullcalendar/docs/event_data/Event_Object/) specifically you set the
startto the unix timestamp of the start date/time and either mark it as an all day eventallDay = "true"or setendtimestamp.As you mentioned Ajax, one way to populate the calendar with events is to load them via JSON which you can do like this:
$('#calendar').fullCalendar({events: '/myfeed.php'
});
With
myfeed.phpreturning a json structure full of the event objects.Here’s a full example of how to setup the calendar with various options