Home › Forums › Calendar Products › Events Calendar PRO › Upcoming / Past events not working
- This topic has 7 replies, 2 voices, and was last updated 11 years, 11 months ago by
Barry.
-
AuthorPosts
-
May 9, 2014 at 5:57 am #154808
jonaslillevold
ParticipantI have a problem with the upcoming/past events not working. The url is here: http://www.halden.net/aktiviteter/ (The links are at the bottom Past=”Tidligere aktiviteter”, Upcoming=”Kommende aktiviteter”).
The past-link works one time, and then it just returns the same events. The upcoming link doesnt work at all. Anyone got a suggestion for what went wrong here?
I’ve uninstalled all plugins in order to see if there is a multiple plug-in conflict, but that doesn’t seem to be the problem, the same with trying different versions of the plug-in/wordpress.
May 9, 2014 at 3:03 pm #155522Barry
MemberHi – I’m sorry you’re facing difficulties.
Would it be possible for you to update all of your event-related plugins? It looks right now as if you are using Events Calendar PRO 3.2 and The Events Calendar 3.4.2. There are two important things to note here:
- They need to be in sync: ie, Events Calendar PRO 3.5.x and The Events Calendar 3.5.x (the third value, represented by x, doesn’t really matter in this respect)
- We did have some bugs related to what you are experiencing and there is a good chance they have now been resolved
Can you try updating and see if that remedies the problem?
Thanks!
May 22, 2014 at 5:00 am #170212jonaslillevold
ParticipantThis doesn’t solve my problem, unfortunately. The Events Calendar is version 3.5.1 and The Events Calendar Pro is 3.5.2.
May 22, 2014 at 1:59 pm #170804Barry
MemberOK – thanks for checking/updating it in any case 🙂
I do also see you have two different copies of jQuery being enqueued. One is the standard version that ships with WordPress (great!) one is being pulled in from Google’s CDN service (sometimes great – but not if jQuery is already present!).
You noted having already tried deactivating all other plugins and switching to a default theme: it looks to me like the second copy of jQuery relates to your theme’s slider and I do indeed see a JS error relating to that in the console. With that in mind can you confirm that this problem persisted when only our plugins and a default theme were in use?
May 23, 2014 at 12:37 am #171469jonaslillevold
ParticipantThank you, you are absolutely correct, my theme crashes when this:
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”>
is in use.By removing this, the upcoming-buttons works perfectly fine. However, my slider-plug-in then crashes, which is important for the site. Do you know any way around this?
May 23, 2014 at 1:12 am #171487jonaslillevold
ParticipantIt crashes because it’s two different jQuery-libraries in the http://www.halden.net/aktiviteter I think, I’m trying to use the jQuery.noConflict()-function with no luck.
May 23, 2014 at 2:48 am #171598jonaslillevold
ParticipantAnd there it works. The two changes needed:
1. Replacing <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”></script> with <script type=”text/javascript” src=”<?php bloginfo( ‘template_directory’ ); ?>/js/jquery.js”></script>
2. Change $ to jQuery
$(document).ready(function() {
$(“#foo1”).carouFredSel({
replaced by
jQuery(document).ready(function() {
jQuery(“#foo1”).carouFredSel({Thanks for the help.
May 23, 2014 at 6:55 am #171889Barry
MemberI’m glad you got things working (and thank you for sharing the final solution – it could definitely be useful for others).
As an aside, we’re always interested in people’s experiences with The Events Calendar and if you wanted to share a review we’d love to hear from you 🙂
Since it looks like everything is on track here I’ll go ahead and close this thread but please don’t hesitate to create new threads as needed if we can help with anything else.
-
AuthorPosts
- The topic ‘Upcoming / Past events not working’ is closed to new replies.
