How do I send additional options to the events json feed for full calendar?
I can set events as a JSON feed:
$('#calendar').fullCalendar({
events: '/myfeed.php'
});
and FullCalendar has an option to send additional data via a POST:
$('#calendar').fullCalendar({
events: {
url: '/myfeed.php',
type: 'POST',
data: {
custom_param1: 'something'
},
}
});
But this changes the GET query which look like:
/myfeed.php?start=2013-12-01&end=2014-01-12&_=1386054751381
Into a POST which is only sending my custom param - it doesn't send the start/end/_id
The documentation states that the startParam and endParam are additional options for JSON feeds, but what value do I give these?