Previous and Next links in List and Day View

Home Forums Calendar Products Events Calendar PRO Previous and Next links in List and Day View

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #102470
    troywoodland
    Participant

    I am having an issue where the Previous and Next links in the List and Day view do not work. The weird thing is that when hovering the link, the proper URL shows up – just no action on click. The other strange thing is that it works fine in Month view. I have checked other threads and tried a few things, but no luck.

    Any thoughts on this why this could be happening?

    #103179
    Brook
    Participant

    Howdy troywoodland,

    This is probably a javascript thing. If the correct url is showing up on hover, then something is probably attaching an on onclick function to those elements, then calling .preventDefault(). That might not make sense unless you are familiar with javascript.

    I would be glad to look into this further and see if I can give you some specifics, however I was unable to find the Tribe calendar on your website. Could you please post a link to the pages where this is happening?

    Please let me know if I can be of further assistance, or if that explanation helped you resolve this. Cheers!

    – Brook

    #103503
    troywoodland
    Participant

    Brook – thanks for replying. I have activated the dev site now – you can see it at: http://annapolisroyal.com/events/2014-02-11/. I will keep it active for the next few hours if you are available to take a quick peek. If not, I can make it available to you.

    You are correct in that it is a javascript error. This is what I can see in my console:
    Uncaught TypeError: Object [object Object] has no method ‘tribe_spin’
    tribe-events-ajax-day.min.js?ver=3.4:3
    k tribe-events-ajax-day.min.js?ver=3.4:3
    (anonymous function) tribe-events-ajax-day.min.js?ver=3.4:7
    b.extend.pre_ajax tribe-events-pro.min.js?ver=3.4:3
    (anonymous function) tribe-events-ajax-day.min.js?ver=3.4:7
    p.event.dispatch jquery.min.js:2
    g.handle.h

    Any help will be very much appreciated.

    #104093
    Brook
    Participant

    Howdy troywoodland,

    Thanks for keeping the dev site up. That is a huge help!

    This does not appear to be our plugin causing a problem. When I look at your console, before clicking anything, I see that there are numerous JS errors. I am not sure at all which plugin, or if it is perhaps your theme, but it is linking to nonexistent JS files like swfobject.js. You need to take care of fatal JavaScript errors like those, or else unexpected things happen and frequently many things break.

    Now, it is possible that once you fix the other stuff, The Events Calendar will still have issues. If that happens definitely checkin with me and I will look into those errors. But, there is no great way to look into this problem until the obvious script halting fatal errors are fixed.

    Does that make sense? I hope it helps. If not please let me know. Cheers!

    – Brook

    #104289
    troywoodland
    Participant

    Brook -Actually I think you saw the original. Is there a time that you are usually looking through these forums that I could put it online for you. The Dev site doesn’t have swfobject.

    I also made sure that no plugins were causing this. It is such an odd error.

    Cheers

    #104425
    Brook
    Participant

    Howdy again,

    You are probably right, I saw the original. I tend to be on in the mornings around 6-7am CST, and then again in the late afternoon and evening, about 4-6pm CST.

    It would be great if our schedules could jive, but if not I was able to find a few other people who had the same problem. Perhaps there experience can help us solve this:
    https://tri.be/support/forums/topic/javascript-errors-on-weekly-and-daily-view/
    https://wordpress.org/support/topic/upcoming-events-and-previous-events-links-on-list-view-dont-work

    In short, this error generally happens when something catastrophic has happened to jQuery. If a theme or one of your plugins is hardcoding a link to jQuery this will frequently result in jQuery being included twice, which causes all kinds of errors. Or, it has also happened when a theme or plugin overrode the default jQuery version with an older one. WP comes with jQuery 1.10.2, and that is the version our plugin and many others rely on since it is the default one. If something has changed this, errors occur.

    If I were you I would go to a page that has error, then look through the HTML output with a search tool to see if jQuery is in there a couple of times, or if an old version is being used. The following troubleshooting steps can be helpful for finding out which plugin, or even its your theme, that is causing jQuery to fail:

    First, you try temporarily activating the default 2013 theme, and seeing if the issue persists. If the issue persists in the default 2013 theme, it’s probably a plugin but please keep the 2013 theme enabled just in case. Now disable any plugins other than the ones from Modern Tribe to see if that fixes it. If it does, try reenabling the plugins one at a time until the issue resurfaces. When it does resurface, which plugin caused that to happen?

    Please let me know if you are able to post the site for me to look at.  Sadly I can not guarantee it, but like I said I am usually from around 4-6PM CST on Friday evenings. Or, did my diagnostic steps help you find and fix it? Please let me know what the status is. I am anxious to get this fixed for you.

    – Brook

    #104455
    troywoodland
    Participant

    Brook – I will try the few suggestions again then let you know what happens – it may be hard for me to make the site live at those times. Hopefully following your suggestions I can nail this.

    I am not sure if it would be a theme issue as it is a custom theme that is quite lightweight, using minimal scripts and plugins – but with that said I am not a great developer, so there’s that!

    #105443
    Brook
    Participant

    Hello again troywoodland,

    I hope my advice helped you to get this resolved in a timely manner. If not and you are still looking for help, please let me know. I will be on for the next 4 hours or so. Cheers!

    – Brook

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Previous and Next links in List and Day View’ is closed to new replies.