Home › Forums › Welcome! › Pre-Sales Questions › “Previous” and “Next” links not working in List View
- This topic has 8 replies, 2 voices, and was last updated 9 years, 10 months ago by
Josh.
-
AuthorPosts
-
June 7, 2016 at 4:51 pm #1123641
Mary Correia-Moreno
ParticipantHi, 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!
June 7, 2016 at 5:03 pm #1123643Josh
ParticipantHey 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!
June 7, 2016 at 5:08 pm #1123645Mary Correia-Moreno
ParticipantHi 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/
June 8, 2016 at 6:52 am #1123801Josh
ParticipantHey 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!
June 8, 2016 at 1:02 pm #1124132Mary Correia-Moreno
ParticipantHi 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:1Any clue how to rectify this without touching the core files?
June 9, 2016 at 2:22 pm #1124772Mary Correia-Moreno
ParticipantHi Josh,
Just wanted to check in with you again here. Let me know your thoughts.
thanks!
June 13, 2016 at 9:18 am #1126168Josh
ParticipantHey 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!
June 14, 2016 at 1:03 pm #1126949Mary Correia-Moreno
ParticipantHi 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!
June 14, 2016 at 8:01 pm #1127114Josh
ParticipantHey 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!
-
AuthorPosts
- The topic ‘“Previous” and “Next” links not working in List View’ is closed to new replies.
