Home › Forums › Calendar Products › Events Calendar PRO › List view does not work when calendar widget is used.
- This topic has 25 replies, 7 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
February 9, 2012 at 12:14 pm #14945ChristianParticipant
I have the same issue. Tried removing the Events Calendar widget and adding it back. Did not work.
February 9, 2012 at 12:22 pm #14948RobMemberGlad to hear that did the trick for you, Jason. Not a long-term solution and I’m still going to have the devs take a look here accordingly, but Kris…let us know if that works for you as well.
February 9, 2012 at 12:31 pm #14952Kris LaGrecaParticipantYup, I discovered that fix too — removing the ECPro widget does fix the functionality, but removing it is not a “fix.” Need it to work properly. 🙂
February 9, 2012 at 12:37 pm #14956ChristianParticipantRob,
I may have a lead, although it is a temporary solution.
I forced $template = TribeEventsTemplates::getTemplateHierarchy(‘list’); in the function get_current_page_template(); in the-events-calendar/lib/tribe-templates.class.php
Please tell us if you find a cleaner solution. Thank you.
February 9, 2012 at 1:10 pm #14958Joey KudishMemberHi Kris,
I’m one of the devs here at Modern Tribe, and Rob passed this issue along to me. Just like my colleagues Rob and Jonah, I wasn’t able to duplicate this locally even after trying a few different things. Just for transparency, here are some things I tried:
— I tried this as the url on your site: http://www.gainbridges.com/events/?eventDisplay=upcoming – ?eventDisplay=upcoming is the actual query that happens behind the scenes so I wanted to rule out any conflict there, but that didn’t make a difference
— I tried every template combination on my test site, but couldn’t duplicate the issue
— I noticed that on your site the sidebar is before the content, so I made a quick template locally to duplicate your site as closely as possible but that didn’t make a difference either.A few questions for you:
— Have you tried to revert to the default Twenty Eleven or Twenty Ten theme to see if the theme was being a conflict?
— Have you tried to set the default view under The Events Calendar settings to “list” instead of “grid/calendar” to see if that at least would work?Let me know about these two and if that still doesn’t work, I’ll have you email a set of wp-admin + ftp credentials to rob [at] tri.be and reference this thread in the email and we’ll take a look from there.
By the way, thanks for the lead you posted Christian, that might lead us in the right direction towards a permanent fix.
Thanks
JoeyFebruary 9, 2012 at 1:20 pm #14960Kris LaGrecaParticipantHi Joey, I’m sorry but I don’t have more time to devote to troubleshooting this issue. I’m happy to provide your with FTP, WordPress access and you can take a look. Send me a private message and I’ll get you the credentials.
February 9, 2012 at 1:22 pm #14961Joey KudishMemberHi Kris,
As mentioned above, please email a set of wp-admin + ftp credentials to rob [at] tri.be and reference this thread in the email and we’ll take a look from there. Unfortunately we don’t have private messaging set-up in the forums here and I can’t see your email address directly either.
Thanks
February 9, 2012 at 7:08 pm #14976Joey KudishMemberHey Kris,
I think I’ve got the issue figured out.
The problem seemed to be in the order in which we are setting an internal query variable in the plugin. I’ve fixed it on your site since I had access, but am also including the solution below for others if they encounter it.
In the free plugin, in /lib/the-events-calendar.class.php, on line 210 we were calling ‘setDisplay’ on ‘pre_get_posts’ which made it fire on each query but I think it should only run once, so I’ve changed it to run on ‘wp’ instead. Here’s what that line looks like now:
add_action( 'wp', array( $this, 'setDisplay' ));
Kris, please let us know if this causes any other issues or problems on your site, but I think it should be okay.
I’ve also logged this issue in our project/bug tracker and assuming it doesn’t break anything else in QA we’ll have this included in our next release (2.0.4 or 2.1 – we’re currently debating that internally).
Cheers
JoeyFebruary 10, 2012 at 9:20 am #14998Kris LaGrecaParticipantlooks good. functionality working properly. Nice work Joey!
February 10, 2012 at 11:51 am #15001Joey KudishMemberGlad to hear that worked for you Kris. As mentioned, we’ll have this fix implemented in a future release.
Cheers
July 4, 2015 at 5:00 pm #975591Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘List view does not work when calendar widget is used.’ is closed to new replies.