Upcoming / Past events not working

Home Forums Calendar Products Events Calendar PRO Upcoming / Past events not working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #154808
    jonaslillevold
    Participant

    I 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.

    #155522
    Barry
    Member

    Hi – 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!

    #170212
    jonaslillevold
    Participant

    This doesn’t solve my problem, unfortunately. The Events Calendar is version 3.5.1 and The Events Calendar Pro is 3.5.2.

    #170804
    Barry
    Member

    OK – 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?

    #171469
    jonaslillevold
    Participant

    Thank 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”&gt;
    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?

    #171487
    jonaslillevold
    Participant

    It 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.

    #171598
    jonaslillevold
    Participant

    And 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&gt; 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.

    #171889
    Barry
    Member

    I’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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Upcoming / Past events not working’ is closed to new replies.