“Previous” and “Next” links not working in List View

Home Forums Welcome! Pre-Sales Questions “Previous” and “Next” links not working in List View

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1123641
    Mary Correia-Moreno
    Participant

    Hi, I’m not sure when this stopped working but the “Previous” and “Next” links are no longer working in List View. They still work in Calendar view but not in List View.

    I’ve attached an image of the code for the nav.php for the list mode I have in place.

    Also, If you hover over the links on the site, the correct link pops up in the bottom of the browser window in the status bar so the correct link is registering but the links aren’t going anywhere when clicked. You can see the issue here: http://sdchamber.org/events/list/

    Thanks in advance!

    #1123643
    Josh
    Participant

    Hey William,

    Thanks for reaching out to us!

    It appears that you’re using a template override within your theme on that particular file? If so, take a look at the views > list > nav.php file within the latest version of the plugin. There are some new functions that are used there that you can copy into your template.

    Let me know if this helps.

    Thanks!

    #1123645
    Mary Correia-Moreno
    Participant

    Hi Josh,

    I deleted my custom template override and just used the default files from The Events Calendar [Version 4.1.4] but that didn’t work either. I’ve temporarily disabled my template override so you can see the default isn’t working as well here: http://sdchamber.org/events/list/

    #1123801
    Josh
    Participant

    Hey William,

    Thanks for following up here!

    A next step for diagnosing here would be to follow our Testing for Conflicts to ensure there isn’t a conflict with an existing plugin or theme. From there we can better diagnose what may be happening here.

    Thanks!

    #1124132
    Mary Correia-Moreno
    Participant

    Hi Josh,

    I’ve ran through the above steps and to me it looks like a JS error in a core file of the plugin itself. When I use the inspector while clicking on the Previous or Next links in “List view” only it fires the following error:

    Uncaught TypeError: a(…).tribe_spin is not a function
    tribe-events-ajax-list.min.js?ver=4.1.4:1

    Any clue how to rectify this without touching the core files?

    #1124772
    Mary Correia-Moreno
    Participant

    Hi Josh,

    Just wanted to check in with you again here. Let me know your thoughts.

    thanks!

    #1126168
    Josh
    Participant

    Hey William,

    I apologize for the delay here.

    I’ve reviewed the issue on my local install but was still unable to duplicate the problem. As you noted as well, there appears to be a javascript issue, however I can see the function defined in the plugin and it is functioning normally with the latest version.

    However, sometimes these types of issues can be driven by performance plugins for things such as caching or additional code minification. When you followed the testing procedures, did you ensure that once you had all other plugins deactivated and a default theme activated that you purged your cache prior to checking?

    Let me know if this helps.

    Thanks!

    #1126949
    Mary Correia-Moreno
    Participant

    Hi Josh,

    i’m now pulling in a newer version of jQuery and put it in the head of my site rather than the footer. This seems to have fixed my problem.

    thanks for your help!

    #1127114
    Josh
    Participant

    Hey William,

    Awesome! I’m glad you were able to find a solution here!

    I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new one.

    Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘“Previous” and “Next” links not working in List View’ is closed to new replies.