Conflict with Theme

Home Forums Calendar Products Events Calendar PRO Conflict with Theme

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #22545
    Jonah
    Participant

    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

    #22811
    David Maloney
    Participant

    Thanks for the info – I have things working for the most part and am afraid to break anything. Once I get past a few other issues I’ll give it a try.

    Thanks again.

    #22848
    Rob
    Member

    Sounds good, David! Just a heads up that Jonah is out on sabbatical the next month, but if you follow-up in this thread once you jump back into it I will take over in trying to help with any lingering issues. Cheers.

    #23823
    Henning
    Participant

    Hi there guys,

    I had the same issue with my current theme and the auto-insertion of paragraph tags. Thumbs up for Jonah’s solution, worked like charm.

    #23861
    Joyce Grace
    Member

    Very glad to hear it Henning, thanks!

    #977571
    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 6 posts - 16 through 21 (of 21 total)
  • The topic ‘Conflict with Theme’ is closed to new replies.