1. vincebodie
  2. Sherlock Holmes
  3. Free Templates / Extensions
  4. Monday, 27 January 2025
  5.  Subscribe via email
I am seeing this error in the console related to the J51_News module:

Uncaught ReferenceError: tns is not defined
at HTMLDocument.<anonymous> (media-content:564:20)
(anonymous) @ media-content:564


Here is the relevant code:


<script>
document.addEventListener("DOMContentLoaded", () => {
var slider = tns({
container: "#j51news520",
items: 1,
slideBy: "page",
nav: false,
autoplay: true,
autoplayTimeout: 3000,
speed: 3000,
mouseDrag: true,
controlsContainer: "#j51news520-controls",
autoplayButton: "#j51news520-play",
mouseDrag: true,
responsive : {
0 : {
items: 1,
},
440 : {
items: 1,
},
767 : {
items: 2,
},
960 : {
items: 3,
},
1280 : {
items: 3
}
},
});
});
</script>


Here is the page I am looking at:

https://feminaphysiotherapy.com/media-content

What is the fix for this?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Any news on this? I'm still seeing the error.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

This issue should be now resolved. As the carousel feature was not been used in this instance as there was enough items to allow for a carousel, the carousel was disabled.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!