WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Plugin: Events Manager] JS error "em_ajaxify is not defined"

[Plugin: Events Manager] JS error "em_ajaxify is not defined"

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcus

    @netweblogic

    NetWebLogic Support

    are all the em js files being included? must be something like that

    I believe they are. I did not remove any files from the plugin.

    do you have any other plugin installed?

    it might be a conflict between your other plugin or theme. please try deactivating those temporarily or switching to default theme.

    also are you in multisite or bp?

    FYI, to get this working I had to hack the plugin’s calendar-full.php to include this before the rebinding of the nab buttons. Probably not the best fix, but that got it working.

    var em_ajaxify = function(url){
    if ( url.search(’em_ajax=0′) != -1){
    url = url.replace(’em_ajax=0′,’em_ajax=1′);
    }else if( url.search(/\?/) != -1 ){
    url = url + “&em_ajax=1”;
    }else{
    url = url + “?em_ajax=1”;
    }
    return url;
    }

    @joebeninghove’s solution worked for me, though you should follow their instructions on how to create a template and put the JS code in THAT rather than the original source file.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Events Manager] JS error "em_ajaxify is not defined"’ is closed to new replies.
Skip to toolbar