Support

Home Forums Event Espresso Premium calendar display go to specifc month

calendar display go to specifc month

Posted: January 9, 2013 at 2:29 pm

Viewing 1 reply thread


Cathy Earle

    January 9, 2013 at 2:29 pm

    Hi I have looked through old forum posts and tried this solution:

    http://staging.eventespresso.com/forums/2012/05/calendar-to-display-a-specific-date/

    however it does not work for me.

    I added the following code

    // Change default calendar start date to september 13, 2013
    $jaer(‘#espresso_calendar’).fullCalendar( ‘gotoDate’, 2013, 9, 13);

    above:

            });
    

    in espresso-calendar.php but it doesn’t change anything?

    You can view my testsite here:

    http://wowsunpeaks.com/testsite/?page_id=11


    Josh

      January 9, 2013 at 6:04 pm

      Hi Cathy,

      The calendar has gone through a few revisions since then, and it makes a difference where the code gets added. As an aside, the months start with 0, so september will be 8.

      So the code will look like this:

      jQuery('#espresso_calendar').fullCalendar( 'gotoDate', 2012, 7, 15);
      

      and you’ll want to place it just before the line with the }); before the closing </script> tag in espresso-calendar.php. In the current version of the calendar (2.0.4), this is on line 827.

      Viewing 1 reply thread

      The support post ‘calendar display go to specifc month’ is closed to new replies.

      Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

      Event Espresso - Staging Server