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...Using Modules a...Using Modules a...HTML Module - Disable HTML Auto Correction / ValidationHTML Module - Disable HTML Auto Correction / Validation
Previous
 
Next
New Post
3/19/2013 1:10 PM
 

Is there anyway to turn off the HTML Auto correction or validator for the HTML Module?

There are times I want code exactly how I'm writing it in the HTML module, but when I go to save it completely rewrites the code and corrects it.  I can't manage to get the code exactly the way I want (I have my reasons) because no matter what I do it will always correct the code.

There has to be a way to turn this off either by hard-code or setting.  It's really annoying and it should accept the HTML code exactly as the user inputs it.  It shouldn't be auto-correcting the code for you.  I'm an advance user and I know what I'm doing in HTML Coding.  There are times it completely strips tags and even moves things around in tables and divs I create.

Please help!  I want to forcefully be able to accept code that I write not what DotNetNuke HTML Module corrects itself!

 
New Post
3/19/2013 1:25 PM
 

Okay never-mind I got it.  I was not searching properly for the verbage to turn this ability off.  Apparently it's called ContentFilters which makes sense.

http://www.telerik.com/support/kb/asp...

http://www.dotnetnuke.com/Resources/F...

All you have to do is edit the property in the configfile.xml.

  • DesktopModules\Admin\RadEditorProvider\ConfigFile\configfile.xml
  •    <property name="ContentFilters">0</property>
 
New Post
3/19/2013 5:10 PM
 

Okay now I'm having a new issue with this RadEditor Auto Correction.  It's moving around my Tokens outside of the actual code I type.  Why can't this RadEditor just use the code exactly as I provide it?  I've already gone ahead and set the ContentFilters to 'None'.  It shouldn't be doing ANYTHING to the code but it still somehow rearranges tokens.. any tokens.  It either removes it from a table and pushes it up, or removes it from a div and pushes it up.  It almost always works the first time, but the moment I go back and edit the page.. the token has been moved outside of the scope of the table,div, any tags.  It will keep doing this until the token is at the top of the page.

 

I'm having an issue where the RadEditor keeps moving around the tokens out of <table> tags I use.  In fact it moves it out constantly and pushes the tokens further higher on the editor each time I modify the code.  I'm not entirely sure what is going on.  It should just keep the token exactly where I put it in the code.  I find it rather odd that it will not take my code exactly as I put it.

I've already edited and disabled the ContentFilters for the RadEditor and it's not that.  It still pushes the token out of the table or even the div tags.  It's like no matter what I do DNN keeps rearranging my tokens which each edit.

There has to be something I'm missing.  Why would this happen?  You would think if you typed HTML code one way it would stay that way.  Especially if your in HTML Edit mode.

DNN6

 
New Post
3/20/2013 8:43 AM
 
Fixed it again myself.  Posting here for others to know.

It turns out it was the RadEditor that comes with DNN 6.  I used the CKEditor replacement found at http://dnnckeditor.codeplex.com/ and it fixed the first problem I had.

 Secondly, the reason the tags were continously moving was a combination of the ContentFilters and the built in Editors control to adhere to HTML standards.  You must have tags enclosed properly or they will be replaced.  Meaning you cannot have an empty TR tag without a TD.  I was trying to replace the Token with code that was not following this guideline and thus the form tag would move.  This in combination with altering the ContentFilters fixed the issue. 

If your curious about the Content Filters, please see this link.  http://www.telerik.com/help/aspnet-aj...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...HTML Module - Disable HTML Auto Correction / ValidationHTML Module - Disable HTML Auto Correction / Validation


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