• Resolved NetzzJD

    (@netzzjd)


    Recently tried activating the Minify feature and it works much better/faster than our previous go-to plugin. But, it breaks The Events Calendar plugin (Modern Tribe) monthly calendar display. I have to disable HTML and Javascript minification for it to work again, leaving CSS the only thing being minified. The Events Calendar along with it’s PRO version loads about 50+ different resources and trying several files to exclude has not worked yet. Can The Events Calendar be added to the Default Exclusions list properly to be compatible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    We’ll look into it.
    Is there any JavaScript error in the browser console when it “breaks”?

    You can also use wild cards to exclude all the scripts from the plugin:
    adding plugins/the-events-calendar/* to the JavaScript exclusion list should exclude all JS from that plugin.

    Marc.

    Thread Starter NetzzJD

    (@netzzjd)

    Thank you. There are three errors in console when minified (and scripts excluded):
    ReferenceError: jQuery is not defined in /plugins/the-events-calendar/src/resources/js/views/breakpoints.js
    TypeError: tribe.events.views.breakpoints.breakpoints is undefined in /plugins/the-events-calendar/src/resources/js/views/viewport.js
    TypeError: containerState is undefined in /plugins/the-events-calendar/src/resources/js/views/view-selector.js

    I’ve tried adding /plugins/the-events-calendar/* and /plugins/events-calendar-pro/* to exclude, but still no luck.

    Hi there,

    I’ve found a couple of issues that were causing the errors. It should be fixed in the next release.

    Marc.

    Thread Starter NetzzJD

    (@netzzjd)

    You mention fixing this for the next release, but this plugin has not been updated in 2 months since this statement. Any news on next release?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Minify The Events Calendar’ is closed to new replies.