Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML Module not displaying external codeHTML Module not displaying external code
Previous
 
Next
New Post
10/14/2011 1:56 PM
 
I found a load rate calculator I want to use on my site:

http://www.bankrate.com/free-content/...

Why when I use the code from this:

<link rel="stylesheet" href="http://www.bankrate.com/free-content/..." type="text/css"><div id="loanCalheaderDiv" class="BankrateFCC_boxhead-container-small"><div id="loanCaltitleDiv" class="BankrateFCC_boxhead">Loan Calculator</div><a href="http://www.bankrate.com/free-content/..." target="_blank"><img src="http://www.bankrate.com/images/free-c..." border="0" align="right" width="116" height="23" alt="Free loan calculator by Bankrate.com"></a></div><input id ="loanCal" type ="text" value="1,Arial,250" style="display:none" /><script language="Javascript" src="http://js.bankrate.com/free-calculato..." type="text/javascript"></script><div id="loanCalfooterDiv" class="BankrateFCC_footer-container small">Determine a <a href="http://www.bankrate.com/mortgage.aspx" title="Loan calculator by Bankrate.com" target="_blank" class="BankrateFCC_a">mortgage </a>or <a href="http://www.bankrate.com/calculators/m..." title="Loan calculator by Bankrate.com" target="_blank" class="BankrateFCC_a">loan payment </a>amount.</div><script type="text/javascript">     loanCalinit();</script>

The HTMl module does not duisplay the actual calculator? Any thoughts?

Thanks
 
New Post
10/14/2011 4:41 PM
 
the html module will automatically strip dangerous content such as javascript - if you're using dotnentuke 6 you can go into the host->html editor manager and uncheck "RemoveScripts" and then it will be allowed. Alternatively modules such as http://wnsinj.codeplex.com/ are useful to inject content such as this

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/18/2011 3:17 PM
 
I have tried using the injection plugin on my DNN 5.6.3 site and it throws an error:

Error: Content Injection is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6a4d361a\af261cb5\App_Web_viewinjection.ascx.8703e0ca.o7_7gzb8.0.vb(60): error BC32206: The project currently contains references to more than one version of DotNetNuke, a direct reference to version 5.6.3.45 and an indirect reference (through 'WillStrohl.Modules.Injection.ViewInjection') to version 6.0.0.2962. Change the direct reference to use version 6.0.0.2962 (or higher) of DotNetNuke. ---> System.Web.HttpCompileException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6a4d361a\af261cb5\App_Web_viewinjection.ascx.8703e0ca.o7_7gzb8.0.vb(60): error BC32206: The project currently contains references to more than one version of DotNetNuke, a direct reference to version 5.6.3.45 and an indirect reference (through 'WillStrohl.Modules.Injection.ViewInjection') to version 6.0.0.2962. Change the direct reference to use version 6.0.0.2962 (or higher) of DotNetNuke. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---


I was thinking... I have the dnnWerk.RadEditorProvider module installed that allows me to sleect the type of editor I use... If I am using the Tleerik rditor.. I know that in the past I have got to  list of configuration options for this editor.

Do you know where this is? I was able to set the size of file uploads, the buttons that displayed and various other detials of the editor. Maybe that Remove scripts option is in there as well?

Let me know. Thanks for the guidance.
 
New Post
10/18/2011 4:45 PM
 
Somewhat related (maybe) - but why does my iFrame javascript forms show on a non-https site as opposed https which shows nothing...

Any thoughts on that as well?
 
New Post
10/19/2011 12:54 PM
 
please raise the injection module issue on their codeplex site, i'm sure they'd appreciate the heads up. As for manually tweaking telerik config see http://www.dotnetnuke.com/Resources/Wiki/Page/DNN-600-Radeditor-Toolbar-config-options-and-Config-Features.aspx and http://www.dotnetnuke.com/Resources/Wiki/Page/Telerik-Customization.aspx . No thouughts on your http/https problem Im afraid, i'd have to look at the code and i dont have any free time, sorry.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML Module not displaying external codeHTML Module not displaying external code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out