calendar menu flips to header after selecting next/prev month

Home Forums Calendar Products Events Calendar PRO calendar menu flips to header after selecting next/prev month

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31856
    Javier
    Participant

    Checked it, I know its the theme. just don’t know where the conflict is… Im using the gonzo theme. Everything is fine when you first load the page. But when you click on another month the calendar menu shoots up into the header. See link:
    http://www.darkwave.biz/bespoke/event_calendar/2013-02/
    Thanks!

    #31896
    Jonah
    Participant

    Hi Javier,

    This is a known issue with some theme’s and our plugin. There’s nothing we can do on our end at the moment but there are some possible solution. Please take a look at this thread and my answer or the other solution further down below: https://theeventscalendar.com/support/forums/topic/conflict-with-theme/

    I hope that helps!

    – Jonah

    #31910
    Javier
    Participant

    got it to work! thanks!

    used this one:

    Jonah West July 22, 2012 Permalink
    Hi David,

    We had another user provide a potential fix for this that let’s you still use the other template options. To try it out, make a copy of /wp-content/plugins/the-events-calendar/views/table.php and place in an ‘events’ folder in your theme. Then paste in the following code before the $monthView variable code on line 32:

    if( !$eventPosts ) {

    $eventPosts = new stdClass();

    $eventPosts->EventStartDate = ‘2012-‘. $month .’-01 00:00:00′;

    $eventPosts->EventEndDate = ‘2012-‘. $month .’-01 00:00:00′;

    $eventPosts = array( $eventPosts );

    }

    //place the above code before this…

    $monthView = tribe_sort_by_month( $eventPosts, $tribe_ecp->date );

    Try that out and let me know how it goes.

    Cheers,
    Jonah

    #31912
    Jonah
    Participant

    Glad to hear Javier, let us know if there’s anything else you need help with.

    – Jonah

    #978531
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘calendar menu flips to header after selecting next/prev month’ is closed to new replies.