Home › Forums › Calendar Products › Events Calendar PRO › Wrong month displayed on grid view drop down
- This topic has 9 replies, 5 voices, and was last updated 13 years, 7 months ago by
Leah.
-
AuthorPosts
-
April 18, 2012 at 1:13 am #18025
Carlos
ParticipantHey 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?April 20, 2012 at 10:32 am #18097Carlos
ParticipantAny headway on this….getting some very confused emails from my users
April 22, 2012 at 3:13 pm #18113Tony
ParticipantHi carlos..
Here is a post that seems to be fixing the problem. Worked for me as well.
Tony
April 23, 2012 at 8:13 am #18153Rob
MemberHey 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.
August 3, 2012 at 1:02 am #23172Carlos
ParticipantHi Rob..after the last update the fix for this issues found below looks to be implemented however it does not work.
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 thisAugust 3, 2012 at 11:52 am #23187Rob
MemberHey 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?
August 8, 2012 at 12:03 am #23414Carlos
ParticipantHey 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
CAugust 8, 2012 at 6:19 pm #23444Rob
MemberAh, 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.
August 14, 2012 at 6:30 am #23621Spoa
MemberRob,
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
September 27, 2012 at 11:32 am #25814Leah
MemberHi Spoa,
Sorry your post got lost and is getting such a late reply. Are you still having trouble with this?
~Leah
-
AuthorPosts
- The topic ‘Wrong month displayed on grid view drop down’ is closed to new replies.
