HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorText/HTML module body of the editor is aquiring the background color Text/HTML module body of the editor is aquiring the background color
Previous
 
Next
New Post
9/30/2008 7:38 PM
 

Chris thanks for your answers.

You referred to  skin.ascx are you referring to what our skin page name is?

If so we only have a table in our ascx page there is no body tags.
 

 

 
New Post
10/2/2008 8:14 AM
 

By "skin.ascx" I meant whatever your page skin's .ascx file is named.  The file name varies from skin to skin.  Skin files for pages (as opposed to containers) should have body tags in them, as a html document is not valid unless it contains one and only one body tag. 

If you don't have a body tag, then either your html is invalid, or there's something else going on with your code that you haven't revealed.  In ASP.NET it's possible to set up a .Master page which acts like a template, and any page based off of the .Master inherits the contents of the .Master page.  If you're using a .Master page in your skin package, that's probably where your body tag is.  To date, I have not seen any skin packages that use .Master pages, but my experience with DNN skinning is fairly limited.

 
New Post
10/7/2008 6:57 PM
 

Chris,

It sounded at first like your method might work, but as was stated earlier, the skin .ascx files do not add the HTML or BODY elements to the page.  DNN adds in those elements and a bit of js before adding in the parsed skin files.

So far, I haven't found a workaround for this, and I went ape-s**t crazy on it for 2 hours.  Any body else finding anything out?  I'm guessing 4.9.1 will fix this...

 

 
New Post
10/8/2008 1:55 PM
 

Are you looking at the *page* .ascx file for your skin, or the *container* .ascx file for your skin?  I'm talking about the body tag in the page skin file.  It would be located in this dir:

\Portals\_default\Skins\[myskinpackage]\

and not

\Portals\_default\Containers\[myskinpackage]\

All of *my* page skins have an HTML and BODY element in them.  This seems to be standard/defaut for the skin packages for dnn framework that I have used.

 

At any rate, it appears that your real problem (the background color) is solved by this solution, from another thread:

this is caused by a black color specified for the html body tag in your skin. you can disable dynamic application of css in extended editor settings (beneath the editor) and select static in section Editor Area css. save your settings for the whole portal.

Hope this helps!

 

--Chris

 
New Post
11/20/2008 10:19 AM
 

Here's the *correct* way to do it:

http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/BodyId_and_BodyClass

Then edit your ~/Website/Providers/HtmlEditorProviders/Fck/Custom/fckconfig.js accordingly.

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorText/HTML module body of the editor is aquiring the background color Text/HTML module body of the editor is aquiring the background color


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.