Add an on eventClick something like:
eventClick: function(calEvent, jsEvent, view) {
window.location = "eventInfo.php?evntuid=" + calEvent.evntUID;
},
‘evntUID’ being whatever field you are defining as an ID. Usually just id, but makes it easy to inject to the URL if too simple…
Or use a cookie and pop open a modal:
eventClick: function ( calEvent, jsEvent ) {
$ . cookie2 = function ( key, value, options ) {
if ( typeof value != 'undefined' ) { // setting cookie
var defaults = {
expires: 1,
secure: 1,
path: '/'
};
$('#MODALID').modal();
$( '.tooltipevent' ) . remove();
$ . extend( defaults, options || {} );
return $ . cookie( key, value, defaults );
}
// getting cookie
return $ . cookie( key, value, options );
};
$ . cookie2( 'selectedeventuid', calEvent . evntUID, {
} );
},
You can pretty much use any javascript based event in Fullcalendar…