Not very familiar with DNN and helping a family member upgrade from 7.3.4 to 9.7.0. Site includes custom module developed by third party that functions correctly (as it has for past four years) when logged in with administrator role, but does not work when logged in only as subscriber. There are tooltips and hidden tabs in the module. The tooltips will not work at all unless logged in as admin and it appears that the hidden tab will work the first time you click on one but then no more afterwards.
Inspecting the page gives the following errors -
Looking at the sources, I have dnn.js?cdv=214 and dnn.servicesframework.js?cdv=214 loading when logged in as admin but not when logged in as subscriber.
This is definitely not my area of expertise and over my pay grade but hoping someone can help me out so I can help them out. Any help would be greatly appreciated.
Thanks for your reply Joe. I created the test page and used Xcillion skin and everything worked with both roles. I then looked at the ascx for the page that is not working. I should have mentioned that it is a custom theme/skin as well. JQuery and a custom js were commented out. It is only loading bootstrap.min.js. There is a script section in the ascx file as follows -
$(document).ready(function () { $("li.dropdown").hover(function () { $(this).addClass('open'); //$(".open a").addClass('dropdown-toggle'); //$(".open a").attr("data-toggle", "dropdown"); //$(".dropdown-menu li").removeClass('open'); //$(".dropdown-menu li a").removeClass('dropdown-toggle'); //$(".dropdown-menu li a").removeAttr("data-toggle", "dropdown"); }); $("li.dropdown").mouseleave(function () { $(this).removeClass('open'); //$(".dropdown a").removeClass('dropdown-toggle'); //$(".dropdown a").removeAttr("data-toggle", "dropdown"); }); $("ul.nav li").click(function () { $("ul.nav li").removeClass('open'); $("ul.nav li a").removeClass('dropdown-toggle'); $("ul.nav li a").removeAttr("data-toggle", "dropdown"); }); $('.carousel').carousel({ interval: 5000 }); });<script> $(document).ready(function () { $("li.dropdown").hover(function () { $(this).addClass('open'); //$(".open a").addClass('dropdown-toggle'); //$(".open a").attr("data-toggle", "dropdown"); //$(".dropdown-menu li").removeClass('open'); //$(".dropdown-menu li a").removeClass('dropdown-toggle'); //$(".dropdown-menu li a").removeAttr("data-toggle", "dropdown"); }); $("li.dropdown").mouseleave(function () { $(this).removeClass('open'); //$(".dropdown a").removeClass('dropdown-toggle'); //$(".dropdown a").removeAttr("data-toggle", "dropdown"); }); $("ul.nav li").click(function () { $("ul.nav li").removeClass('open'); $("ul.nav li a").removeClass('dropdown-toggle'); $("ul.nav li a").removeAttr("data-toggle", "dropdown"); }); $('.carousel').carousel({ interval: 5000 }); }); </script>
});
$("ul.nav li").click(function () { $("ul.nav li").removeClass('open'); $("ul.nav li a").removeClass('dropdown-toggle'); $("ul.nav li a").removeAttr("data-toggle", "dropdown");
}); $('.carousel').carousel({ interval: 5000 }); });<script> $(document).ready(function () { $("li.dropdown").hover(function () { $(this).addClass('open'); //$(".open a").addClass('dropdown-toggle'); //$(".open a").attr("data-toggle", "dropdown"); //$(".dropdown-menu li").removeClass('open'); //$(".dropdown-menu li a").removeClass('dropdown-toggle'); //$(".dropdown-menu li a").removeAttr("data-toggle", "dropdown"); }); $("li.dropdown").mouseleave(function () { $(this).removeClass('open'); //$(".dropdown a").removeClass('dropdown-toggle'); //$(".dropdown a").removeAttr("data-toggle", "dropdown"); }); $("ul.nav li").click(function () { $("ul.nav li").removeClass('open'); $("ul.nav li a").removeClass('dropdown-toggle'); $("ul.nav li a").removeAttr("data-toggle", "dropdown"); }); $('.carousel').carousel({ interval: 5000 }); }); </script>
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.