FullCalendar JavaScript API
Adding custom JavaScript
We need a page with explanation about the API and links with examples in the handbook.
This includes for example the D6 event coloring taxonomy example.
This page would also need sub-pages with some examples like how to color based on field input for example.
/**
* Implements hook_fullcalendar_editable().
*/
function custom_module_fullcalendar_editable($entity, $view) {
// Here I could inspect the entity or the view to make an informed deciscion,
// but in this case I never want to have the event be editable.
return FALSE;
}
Adding custom JavaScript