Wrong month displayed on grid view drop down

Home Forums Calendar Products Events Calendar PRO Wrong month displayed on grid view drop down

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18025
    Carlos
    Participant

    Hey guys, just noticed that the dropdown between the previous and next month at the top right corner of the gridview is not actually displaying the current month name but the previous month name, however the gridview content is correct. Obviously confusing b/c your not sure which month you are acutally looking at unless your the event organizer. The following link is displaying a calendar for April yet the dropdown says March.
    http://sustainableelements.ca/events/
    Ideas?

    #18097
    Carlos
    Participant

    Any headway on this….getting some very confused emails from my users

    #18113
    Tony
    Participant

    Hi carlos..

    Here is a post that seems to be fixing the problem. Worked for me as well.

    Date selector on grid calendar view is off by a month

    Tony

    #18153
    Rob
    Member

    Hey Carlos: we have had a few users report this, and the solution has generally been different for each of them. But a good starting point would be Tony’s suggestion above. Want to give it a go and let us know the results?

    If that doesn’t do the trick, please try the deactivation route (plugins + theme) and let us know if the issue persists with no other plugins/just default 2011 theme active. We’ll do what we can to assist from there.

    #23172
    Carlos
    Participant

    Hi Rob..after the last update the fix for this issues found below looks to be implemented however it does not work.

    Date selector on grid calendar view is off by a month

    If I read the fix right, it adds an offset to the dropdown where the original code had none. I’ve played with the offset, even removed it but nothing changes. Is there a permanent fix for this?
    need a fix for this

    #23187
    Rob
    Member

    Hey Carlos. Thanks for the follow-up. Sorry to hear this is still an issue on your end; it’s a bit difficult to diagnose, largely because this isn’t a core behavior of the plugin (we’re totally unable to recreate it on our test environment) so it seems like something specific to your install is at play here.

    Just to confirm: the code provided in that other thread you noted was never added to the core plugin; you’ll need to incorporate it yourself. Could that be the issue here?

    #23414
    Carlos
    Participant

    Hey Rob, Ok I worked it out. The code in the most recent release of The Event Calendar uses the fix in the other forum post ($date = $wp_query->query_vars[‘eventDate’] . “-01”; ). I actually had to revert the file back to its original code ($date = $wp_query->query_vars[‘eventDate’];) and it worked.

    So not sure why or how, but things are working as they should
    C

    #23444
    Rob
    Member

    Ah, gotcha. I understand – sounds like this was an issue of attempting a fix that was already incorporated, right? Let me know if I’m misunderstood. Otherwise if you notice any other weird behavior or issues related to this…please let us know.

    #23621
    Spoa
    Member

    Rob,

    What Carlos is saying is accurate. The latest release incorporated the change that was suggested in the forums, but now it’s broken again. Is there a new way besides the method Carlos used to resolve this?

    Thank you

    #25814
    Leah
    Member

    Hi Spoa,

    Sorry your post got lost and is getting such a late reply. Are you still having trouble with this?

    ~Leah

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Wrong month displayed on grid view drop down’ is closed to new replies.