• Resolved lcwlt

    (@lcwlt)


    Hi,

    I have inserted the calendar into one of my theme files using the code off of your documentation:

    <?= EM_Calendar::output(array('full' => 0, 'long_events' => 1)); ?>

    Upon viewing the page it looks fine, however when you navigate to a different month, it bugs out a bit:

    Initial page load: Shows the events fine, nice and styled with month dropdown etc.

    Change month: Events and styling disappear, weird display of date with no dropdown.

    Navigating again: Refreshes page and returns to the working version. The url changes to include parameters – ?mo=2&yr=2025 (this is not the case when changing month the first time even though the arrows etc have a href, some JS seems to be taking over?).

    It switches back and forth every time you navigate.

    I’m getting these console errors if that helps at all:

    What would be ideal is that it doesn’t refresh every time you change month, which it seems to kind of do, but only every other switch, and then it doesn’t seem to retrieve the events or styling. I assume this is probably something to do with my implementation of the calendar, any help is much appreciated.

    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
    • This topic was modified 1 year, 5 months ago by lcwlt.
Viewing 1 replies (of 1 total)
  • I encountered this same issue recently, and it turned out the problem was that another admin had added an old version of jQuery in the theme script settings. This old version was being loaded ahead of the version bundled with WordPress, and hence the errors about the missing selectize function.

    So just figure out where that is happening and remove it and you should be good to go. If it is another plugin loading it, it’ll probably be a little more work to remove it assuming you want to keep the plugin activated.

    • This reply was modified 1 year, 5 months ago by sc0tth0lden. Reason: grammar
Viewing 1 replies (of 1 total)

The topic ‘Calendar View Bug?’ is closed to new replies.