you need to modify fullcalendar to make this work. – http://arshaw.com/fullcalendar/docs/mouse/eventClick/
– you can add this javascript at wp-fullcalendar.php under function footer_js()
Pardon my naivety but the code in wp-fullcalendar.php seems quite different from the code on the arshaw.com site (different set of variables at the very least).
Is there any documentation of what lines of code with wp-fullcalendar.php generate links? Or will I need to start experimenting?
Thanks for the response,
yes that’s correct However you can still used the api from arshaw.
eg. something like
eventSources: [{
url : WPFC.ajaxurl,
data : wpfc_data,
ignoreTimezone: true,
allDayDefault: false
}],
eventClick: function(event) {
if (event.url) {
window.open(event.url);
return false;
}
},
noticed that I just added these lines
eventClick: function(event) {
if (event.url) {
window.open(event.url);
return false;
}
},
Angelo you are awesome! The code works perfectly, and here I thought the code would be far more difficult to implement.
Thanks again!