Hi all,
I've successfully added a few DNN tab controls to a few pages in my site and they work fine when I'm logged in as the host account but not for anyone else.
Here's the line that is supposedly generating the error:
$('#panels-demo').dnnPanels({selected:0});
The following jquery is being added under page settings --> page header tags:
<script type="text/javascript">
jQuery(function ($) {
var setupModule = function () {
$('#panels-demo').dnnPanels({selected:0});
$('#panels-demo .dnnFormExpandContent a').dnnExpandAll({
targetArea: '#panels-demo'
});
};
setupModule();
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
setupModule();
});
});
</script>
Any idea why this doesn't work for non-host users?
Thanks,
Mark