DNN Cookie pop-up not showing - Cannot read properties of undefined (reading 'getVAR') - dotnetnuke

Update
I have enabled the DNN (DotNetNuke) Cookie policy setting.
The pop-up won't show unless I have the label tag on a module that is on the page.
It seems like it will only work when I have a module on a page with a DNN:Label tag.
<dnn:label ID="Label1" runat="server" Text="" CssClass="placeholder_label" />
I get the following error in the browser console:
Where it breaks:
What can I change in my SKIN file to make this work?

It seems like there is a bug with DNN version 9.04.01, I have upgraded to version 9.10.1 and now it works perfectly.

Related

React app showing blank page in GitHub pages

After uploading my react app on gitHub pages its showing a blank page, and there is no error displaying in console. When I inspected the pages it says:
You need to enable javascript to run this page
but when I checked by browser settings it shows my javascript is enabled.
Here is my console
Here are the elements
Here is the Package.json
Also when I tested with a basic react app(no routes only single page) it was displaying properly
If gitHub is not publishing, is there any other alternative to publish my work?
Thanks
It looks good from my side. You should try with another browser to see if the problem persists.

"The webpage at chrome-extension://myextensionid/ might be temporarily down or it may have moved permanently to a new web address. ERR_UNEXPECTED"

I am developing a react chrome extension.
I have a footer bar to navigate across my pages(components).
I am using react-router-dom to switch/route between pages.
My extension works perfectly when debugging but, after I build it (npm run build) and Load Unpacked at my extensions, the first page renders good but when I click my footer navigation buttons, my extension shows this message:
The webpage at chrome-extension://myextensionid/ might be temporarily down or it may have moved permanently to a new web
address. ERR_UNEXPECTED
Is it because I did not publish it yet, routing only works after I publish my extension?
Any ideas what can be wrong, can you please help me with this issue?

Batarang on Chrome mobile devtools doesn't work

I'm debuggin a mobile application using Chrome devtools, I can inspect the device, network tab, console tab, etc are working fine, I can see the batarang tab AngularJS, when I click Enable the page is reload on the chrome mobile tab but the batarang tab don't show any kind of information.
Do you have any idea?
(source: vpsnotas.com)
It appears as though Batarang hasn't been updated to be compatible with the latest versions of AngularJS. Appears to be a duplicate of: batarang Chrome extension for AngularJS appears broken
Does the console show any errors or anything? That would be the first place I would look, as it will normally point you in the right direction of the issue.
I recently ran into an issue with loading Batarang on an angular app that I know was previous working. The console was throwing an $injector:modulerr error and the issue turned out to be with the ng-strict-di directive on the ng-app. After removing the ng-strict-di directive from the ng-app, the Batarang extension works fine.

dnn:label Not a Known Element

I'm going through some DNN tutorials and in one tutorial, for Edit.ascx the author says to add:
<%# Register TagPrefix="dnn" TagName="label" Src="~/controls/LabelControl.ascx" %>
so that <dnn:label ID="lblName" runat="server" /> can be used. However, VS2013 gives a warning for dnn:label saying that "Element 'label' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing." I've tried to view other DNN source and I also get the same warning so I presume it has to be a setup issue. I made sure that the properties in my project are configured to:
Start URL: http://dnndev.me/
Servers: Local IIS Project Url: http://dnndev.me/desktopmodules/myproject
Override application root URL: http://dnndev.me
The LabelControl.ascx file is indeed located at ~/controls/LabelControl.ascx and the web.config file isn't missing from the root directory at dnndev.me.
Does anyone know why I am getting such a warning?
It is just a warning. My templates get that warning in pretty much all instances.
You can ignore it.

AngularJS set up with Webstorm

I'm getting started with Angularjs and fallen at the first hurdle :-(
i've installed node (windows installer) and the webstorm ide. in webstorm i've installed the angularjs plugin and in the html typing 'ng' prompts all the ng templates in a dropdown, so this look ok.
cutting and pasting in the demo html5 (under the heading 'The Basics' at http://angularjs.org/) and running in webstorm and navigating to the file url (in firefox or chrome) however the angular statement '{{yourName}}' isn't binding at all - it's rendered out as a literal. Anyone know where i'm going wrong ?
The example on the home page was using protocol-less (or protocol-relative) URLs (http://www.paulirish.com/2010/the-protocol-relative-url/). While those are very handy, protocol-relative URLs don't play nicely with the file:// protocol in this case. Simply your browser is trying to retrieve AngularJS library from the local file system. To fix it you need to add protocol:
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
Try prefixing the ng tag with data like data-ng-model.

Resources