During the process of setting up a new DotnetNuke site, I needed to put a google adsense javascript on the page. I think there is some DNN module that you can use to do so as well. But I also needed to put another javascript block from another advertising vendor on the page as well. First I though may be I can inject the script block in HTML module content itself. Unfortunately HTML editor removes javascript from content when it gets saved. After looking around at various page setting, I found that I could put my javascript code under Header available under Module Settings > Advanced Settings section in module settings. You can see this in action at the following URL. Sections shown at top and left of the page are HTML modules that have javascript embedded in header.
Embed Javascript In Module Demo
Send data from javascript to Silverlight
How to plan CCSP Exam preparation
Develop a MongoDB pipeline to transform data into time buckets
Alert and Confirm pop up using BootBox in AngularJS
AngularJS Grouped Bar Chart and Line Chart using D3
How to lock and unlock account in Asp.Net Identity provider
2024 © Byteblocks, ALL Rights Reserved. Privacy Policy | Terms of Use