Support » Plugin: WP FullCalendar » Open month view on specified month

  • Hi, is there any way to pass a particular date (or month) to calendar view so that it displays that month rather than defaulting to the current date each time it displays?

    For example, to be able to display events in September 2019?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi, at the moment this is not yet available.

    People seem to have been asking for it for several years and it seems a really simple thing to do. It is close to being a fatal flaw with EventsManager and, along with the very slow performance, is making me consider moving to a different events engine. Expecting users to scroll through months and months that each take about 10 seconds to load, just to get back to where they were is a fundamental usability issue when you could just set a cookie each time a month displays.

    I had this exact same problem and so to work around it in the meantime I just added this line after line 87 of the inline.js file

    $(‘.wpfc-calendar’).fullCalendar(‘gotoDate’, “2019-09-01”);

    This would presume that you didn’t have multiple calendars but as a basic workaround this should work.

    Thanks Jonathan, that looks like it would work if I always wanted it to always open on September for every user.

    What I need is for it to set a cookie with the last viewed month each time the user changes month or when they click into a specific calendar entry, and then display that month when they return to the calendar.

    At least you have given me a clue where to insert some code so I will take a closer look at inline.js.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.