Mini Calendar Widget Doesn't Show Days Events

Home Forums Calendar Products Events Calendar PRO Mini Calendar Widget Doesn't Show Days Events

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #974802
    37designs
    Participant

    I’m having an issue with the mini calendar widget. We have it installed and when you load the page (http://www.bostondealfinders.com/) you can see a list of five or so events over the next few days. If you click on a particular day, those events don’t show. Sometimes clicking an event you can see a past event, but certainly not an event ocuring on the exact day.

    #975147
    Barry
    Member

    Hi 37designs,

    I’m sorry to hear you’ve hit up against some difficulties.

    It certainly looks like an unusual situation – for instance, various dates are highlighted (as if they have events) in the calendar widget, yet they are completely empty in the full calendar view itself (even though I am not in a specific category).

    At the same time, I see events for those empty dates in list view … have you applied any customizations at all, perhaps targeting month view queries? If so, does stripping those out resolve this?

    I also see you noted having tried our standard troubleshooting steps when you first created this topic – what was the outcome of those tests?

    Thanks!

    #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

    #975240
    Barry
    Member

    Yep, there’s nothing unusual about the request as such – only the lack of the expected results in the (otherwise well-formed) JSON response is odd.

    When you tried deactivating all other plugins and switching to a default theme, did you do this on a test site? Is that publicly accessible and is there any prospect of you providing the URL so I can take a look at things under “default conditions” (if not, might it even be possible to quickly set up such a site? … installing WordPress in a test directory, for instance, is usually a pretty fast job).

    Let me know if that’s a possibility 🙂

    #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?

    #976170
    Barry
    Member

    Hi @37designs,

    So I can view the request and response data without adding any extra code – for that reason extra debug functions probably wouldn’t add too much value there.

    Trying to debug the way the query is being modified might be worthwhile, but then again there are a large number of hooks through which other plugins/theme code might alter the query (assuming that’s the problem) and I don’t want to go down a rabbit hole there.

    I still think a test site is a viable way to go: how about configuring it as a multisite network and see if you can replicate the same thing – again, with no other plugins and with only a default theme – on one of the sites? It shouldn’t take a great deal longer to set this up than doing the same with a regular, non-multisite installation.

    From there, if we find there is no problem, we have a strong indicator that a conflict is at work and you can begin incrementally adding and then testing against your theme and the other plugins in the stack until the problem can be reproduced, potentially helping us to identify the seat of the conflict.

    #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?

    #988197
    Barry
    Member

    Perhaps certain data – whether in terms of content or, more likely, configuration – needs to be in place. Would you be able to export your production database and import it into the test site? That may draw us closer.

    #993083
    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 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Mini Calendar Widget Doesn't Show Days Events’ is closed to new replies.