Home › Forums › Calendar Products › Events Calendar PRO › Calendar not working correctly
- This topic has 0 replies, 2 voices, and was last updated 8 years ago by
Thaddeus Ruszkowski.
-
AuthorPosts
-
March 26, 2018 at 8:08 am #1488576
Thaddeus Ruszkowski
Participantcalendar not showing correctly on our site. See calendar on https://www.atonementfriars.org/novena-calendar/ it has lot of events. if you go April it is empty. if you go back March again it is empty too. When you go that page first there have lot of events on March. what’s wrong?
March 26, 2018 at 4:09 pm #1489057Brendan
KeymasterHi there,
Thanks for email support and sorry you are having issues. Sounds like there is a conflict. To get you started on troubleshooting: First, please make sure you are using the most current versions of all of our plugins. You can also try reinstalling them by following these instructions. If that doesn’t help, the next step in troubleshooting this is going to be testing for conflicts with your theme and other plugins (with WP_DEBUG enabled). If you need a testing environment, the free WP Staging plugin will let you create a quick copy of your live site that you can use for testing.
Let me know what you find.
Thanks,
BrendanMarch 26, 2018 at 10:33 pm #1489207Thaddeus Ruszkowski
ParticipantI found issue. it happen because of custom code. The event Calendar Support help me to build that code. are you able resolve for me this? we want to hide novenas category on main event page. actually it work last few months. I think this broken after event calendar plugin update. see code below,
add_action( 'pre_get_posts', 'exclude_events_category' ); function exclude_events_category( $query ) { if ( $query->query_vars['eventDisplay'] == 'upcoming' && !is_tax(TribeEvents::TAXONOMY) || ($query->query_vars['eventDisplay'] == 'month' || $query->query_vars['eventDisplay'] == 'list' || $query->query_vars['eventDisplay'] == 'week' || $query->query_vars['eventDisplay'] == 'day') && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) { $query->set( 'tax_query', array( array( 'taxonomy' => TribeEvents::TAXONOMY, 'field' => 'slug', 'terms' => array('novenas'), 'operator' => 'NOT IN' ) ) ); } return $query; }March 27, 2018 at 8:33 pm #1490259Brendan
KeymasterHi there,
So it looks like the previous support rep was trying to be helpful with providing code. Its not part of service level but I did run this code through and see that it works. Looks like there are a few warnings but I am able to scroll through events for each month and go back to the previous month.
So what you are saying is when you remove this snippet, your site works?
With that being said, we’d love to help point you in the right direction.
I’d recommend starting off by taking a look at our Themer’s Guide, which can show you which templates can be edited and copied in order to attempt the results that you are looking for.
For your customization, you may want to take a look at this template:
If you’d prefer not to tackle this customization on your own, we may be able to assist you further. We do need to prioritize support requests from other customers at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help, we’ll be happy to do so. Please let us know if you’d like to go this route so that you can be added to this queue.
In the meantime, if there is any more information you can share (including mocks) that will help us to better understand what you are seeking please do feel free to add them to this ticket.
If you urgently need help with this, however, you may instead wish to consider working with a suitably skilled developer or designer who can offer the additional level of support you require.
Thanks!
Brendan
March 28, 2018 at 2:47 am #1490400Thaddeus Ruszkowski
ParticipantHi there.
The main calendar work without any issue https://www.atonementfriars.org/events/
The issue happen with other calendar on this page https://www.atonementfriars.org/novena-calendar/ it used [tribe_events view=”month” category=”novenas”] short-code. If you go next month and previous month the calendar say ‘no result found’. if you back to current month it again say ‘no result found’. if you directly go to calendar it works. http://prntscr.com/ixgegs
I hope you understand what i’m trying to say.
I also can confirm this happen after latest plugin update. We restore backup(the backup take before update event plugin) to stage server and it work good.
Thank you.
March 29, 2018 at 1:54 pm #1492232Brendan
KeymasterHi there,
I understand. So when you remove the custom code, it works fine?
Thanks,
BrendanMarch 29, 2018 at 8:48 pm #1492396Thaddeus Ruszkowski
ParticipantYes you are right.
There have of lot of example on The Events Calendar Forum. None of them working with new plugin update.
April 3, 2018 at 9:05 pm #1496026Brendan
KeymasterHi there,
In this case there could have been some changes to the naming conventions. I can put this in the queue for someone to look more into this as a customization.
Let me know if you would like to explore that.
thanks,
BrendanApril 4, 2018 at 2:11 am #1496099Thaddeus Ruszkowski
ParticipantYes please.
April 5, 2018 at 3:59 pm #1498103Brendan
KeymasterHI there,
I am putting this into the queue. Once someone is able to take a look and provide a snippet, they will reach out to you.
Thanks,
BrendanApril 27, 2018 at 9:35 am #1517971Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Calendar not working correctly’ is closed to new replies.
