Issue with Image slider when used on Landing page
Posted: Mon Jan 24, 2022 1:21 pm
Greetings,
This problem was earlier arisen and solved for a user. However, for a different user, I am facing the same issue.
Install ID: 4349
Link to an earlier post with the same problem on Forum: viewtopic.php?f=1&t=4551&p=10317&hilit=slider#p10317
"
Today, I noticed the image slider work for the a page having Theme ON. However, it does not work for the page where Theme is off.
In my case, I am building a landing page hence do not want to enable "Theme" option for that page. When I use the Image slider on Landing page, it populated error on console.
Error : $(...).nivoSlider is not a function
In my whole research for the problem, I noticed the library files for the Nivo slider exists for both web page and Landing page. However, the jquery library file is embedded two times for Landing page.
May be that is causing the problem.
I tired to find out in template file, however it seems files is not embedded directly.
I think first embed is from
<?
HeadIncludes();
print $headadd;
?>
code which I found from "No theme Header" template. Another I noticed is directly after the <body> tag. I tried to find the second one, but I did not get any template for "no theme" option.
please check and guide me to solve this problem.
Let me know if you require any other details.
"
Thanks
This problem was earlier arisen and solved for a user. However, for a different user, I am facing the same issue.
Install ID: 4349
Link to an earlier post with the same problem on Forum: viewtopic.php?f=1&t=4551&p=10317&hilit=slider#p10317
"
Today, I noticed the image slider work for the a page having Theme ON. However, it does not work for the page where Theme is off.
In my case, I am building a landing page hence do not want to enable "Theme" option for that page. When I use the Image slider on Landing page, it populated error on console.
Error : $(...).nivoSlider is not a function
In my whole research for the problem, I noticed the library files for the Nivo slider exists for both web page and Landing page. However, the jquery library file is embedded two times for Landing page.
May be that is causing the problem.
I tired to find out in template file, however it seems files is not embedded directly.
I think first embed is from
<?
HeadIncludes();
print $headadd;
?>
code which I found from "No theme Header" template. Another I noticed is directly after the <body> tag. I tried to find the second one, but I did not get any template for "no theme" option.
please check and guide me to solve this problem.
Let me know if you require any other details.
"
Thanks