Buck Anderson - DNN Professor Member Login
February 07, 2012

Article Search  
Article Index

Click to grab the RSS feed for the DNN Professor Article IndexDotNetNuke Tutorials and Articles

We cover a lot of different DNN topics on this site - this article index gives you a pretty good idea of the DotNetNuke tutorials, XMod tutorials, DNN training, DNN hosting, and Internet Marketing subjects we cover for beginners and advanced DotNetNuke users.

The following is a complete index of all articles on this site - presented in the most current to oldest article sequence. You can view categories and search the index by subject.

Check back often for new articles, tips on our Business Directory, or have articles conveniently delivered to your favorite program by clicking the RSS feed icon above.


Share    
22

Issue:

If you have worked with XMod, and the FCK Editor Provider, you may have noticed that even if you have not entered any data the editor still retains a paragraph with a no break space - to the rescue.

I was having considerable issues writing Xmod applications since DNN version 4.0.0.

I had gone under the assumption that if you did enter any test into the HTML editor control it would remain empty - WRONG!

Beginning with DNN 4.8.0 the included FCK Editor provider will retain a code chunk.

If you are working in XMod templates and you use an xmod:if statement to test if there is data (Example xmod:if name="CompanyProfile") you will assume that nothing will be returned if no data was entered.

Unfortunately the if statement will fail because of the paragraph that is save to the editor by default.

Solution:

In your DNN file structure search for the file fckconfig.js. It should be located in Providers\HtmlEditorProviders\Fck\Custom

Perform a search for the line  FCKConfig.FillEmptyBlocks and change the value from true to false.

I want to thank Bill Mason for discovering the solution.

More information can be found here.

Buck

 


Share    

Post Rating

Comments

There are currently no comments, be the first to post one.

Join the Discussion!


Buck Anderson - DNN ProfessorLet us know what you think. Or ask us anything. Or offer your own sage advice.

The only rule: RESPECT THIS HOUSE! Postings that contain abusive language and/or personal attacks will be cheerfully VAPORIZED. One cross word and – POOF! – your well-thought-out post will be gone in a puff of smoke.

          Buck

RSS comment feed RSS feed for comments on this post | Permalink URL

Note: For security, public comments require an Email address (Email will not be published and is also used for your Gravatar image)

Post Comment

Only registered users may post comments.


Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map