37designs

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Mini Calendar Widget Doesn't Show Days Events #988126
    37designs
    Participant

    Hi Barry,

    So I setup a development site on a different server and oddly enough the calendar works just fine even with the same plugins / theme.

    http://citydeals.stagedsite.net/

    Any ideas?

    in reply to: Mini Calendar Widget Doesn't Show Days Events #976137
    37designs
    Participant

    Hi Barry,

    It’s actually pretty difficult to do because it’s a multisite so setting up a duplicate is tricky and it’s a live site so I can’t let it sit without any plugins activated or the default theme.

    I could setup a blank install but that doesn’t seem like it would help solve the problem as it wouldn’t be the same environment?

    Is there anything else that can be done to debug? Write a debug function that outputs the request and response to the console?

    in reply to: Mini Calendar Widget Doesn't Show Days Events #975204
    37designs
    Participant

    Hi Barry,

    We haven’t done any customizations to ECP at this point. The only thing close is running a function on save of a new event, but it doesn’t do anything with the queries.

    Tried deactivating plugins and running base theme but no luck.

    Not sure if it’s relevant but looking at what happens when I click a day, the following gets posted:

    action=tribe-mini-cal-day&eventDate=2015-07-03&count=5&tax_query=&nonce=b02eb16d7a

    And the following is returned:

    {“success”:true,”html”:”\n<div class=\”tribe-mini-calendar-list-wrapper\”>\n\t<div class=\”tribe-events-loop
    hfeed vcalendar\”>\n\n\t\t\n\t<\/div><!– .tribe-events-loop –>\n<\/div> <!– .tribe-mini-calendar-list-wrapper
    –>”,”view”:”mini-day”}

    Could it be related to the date query?

    Best
    -Ross

    37designs
    Participant

    Thanks,

    For the time being I added a link to the MISC meta box on published events that will create a post when clicked. It’ll work for the time being 🙂

    Best
    -Ross

    37designs
    Participant

    Any luck on this? If you don’t think we’ll have any insight by Monday morning can you let me know? I’ll need to find some complicated work around (like trying to double save the post or something) if that’s the case.

    37designs
    Participant

    Hey Josh,

    I was using transition_post_status previously and was encountering the same issue.

    My theory is that TEC runs a post-save function by default and my using wp_insert_post(); somehow interrupts it. This would explain why the date format is wrong in addition to the events 404ing.

    If that is the case, maybe I can call it manually within my function after inserting the post?

    Of course this is all speculation so I could be completely off.

Viewing 6 posts - 1 through 6 (of 6 total)