• Resolved thor86

    (@thor86)


    Hi,

    I am trying to add extra options to the full calendar options.
    I added this code to my js file:
    var localOptions = {
    dayClick: function(date, allDay, jsEvent, view) {
    if(view.name != ‘month’) {
    alert(“test-dayclick”);
    }
    }
    jQuery(document).bind(‘wpfc_fullcalendar_args’, localOptions, function(event) {
    event.data.dayClick(date, allDay, jsEvent, view);
    })
    But there is an error in the console, date is not defined. Can you point me to please to the right direction to bind these extra options that I want to add to the to the document event wpfc_fullcalendar_args?

    Many thanks in advance!

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Events Manager] add extra options to the fullcalendar options’ is closed to new replies.