You need to Register for free and Login to post a message in the forum.

Forum

FCK Editor Skin Styles
Last Post 2009-06-16 02:16 PM by CrizTizzy. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
CrizTizzyUser is Offline
Nuker
Nuker
Posts:16

--
2009-06-14 12:15 AM
    I usually set the body tag to have a background-image and  background-color that is dark with a color that is light.  Unfortunately that means most text editors then use the body settings in their edit text box, which blows the WYSIWYG reason for using a text editor because the edit textbox is dark, even though your contentpanel may be white/black.  In the past I always set the css file for the site that text editor used to same colors (white background, black text) that the main content area used and then linked another style sheet with the body tag set to whatever I needed.  That way the text editor would use the site style sheet for the edit textbox but the site body tag would be overridden with the second CSS file.  That doesn't seem to be possible in DNN.

    I noticed the demos had the same problem with the dark background color and *think* I may have discovered a workaround.  Find the FCK Editor CSS file (ExampleSite\Providers\HtmlEditorProviders\Fck\FCKeditor\editor\css\fck_editorarea.css) and reset the background-color, background-image, and color tags so that it looks something like this.

    body
    {
        background-color: #ffffff;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        background-image:none;
        color:black;
    }

    I could be fooled by a caching issue but, so far, this seems to be the solution.  I'm going to try it with the link colors next because that's the next usual issue.

    CrizTizzyUser is Offline
    Nuker
    Nuker
    Posts:16

    --
    2009-06-14 04:59 PM
    Something else that might be worth noting - In the tutorial it recommends adding FCKConfig.BodyID = ‘fckbody’; (Tutorial doesn't include ";" at the end I added that after some exploration and viewing http://docs.fckeditor.net/FCKeditor...BodyClass) within providers/htmleditorProvidors/FCK/custom/fckconfig.js fiile. I found it easier to not a add a new div, I used the same div I used for the contentPanel, "content", because then I wouldn't have to also add overrides for links etc in two places and because, most of the time, those using the text editor will be using within the contentPanel.
    CrizTizzyUser is Offline
    Nuker
    Nuker
    Posts:16

    --
    2009-06-15 03:07 PM
    Easiest way to keep the FCK Editor displaying the background of your contentpane while having a dark background using CSS from
    "Pure CSS SEO Layouts for DotNetNuke skins". Style the body with the same background and color as your contentpane, then add real background colors/images etc to the wrap div.
    CrizTizzyUser is Offline
    Nuker
    Nuker
    Posts:16

    --
    2009-06-16 02:16 PM
    Another note:  Apparently modules use the "body" settings for modules in right/left panes.  I found that setting dnn_leftpane,#dnn_rightpane with the background, color, link colors I wanted for each module in the left/right panes (in my case the dark gradation used in the #wrap div) causes each module to display using those settings without having to create different containers.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    Dnn local setup problem by imran shaikh
    Hi All i have just installed the new site files on my local computer set the connection strin
    RE: Firefox has detected that the server is redirecting the request for this address in a way that will never complete. by imran shaikh
    Hi i have the same issue Firefox has detected that the server is redirecting the request for thi
    DNN nav issue by imran shaikh
    Hi All This is imran i am using DNN 6.0 in which issue is that while i am refreshing the site nav
    RE: Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
    thanks joe! But I have connect with database.mdf file in App_Data. I detach the database from
    RE: Ventrian News Article by Collin Stefani
    Posted By Joseph Craig on 2012-01-18 10:51 AM I'm not sure that you can with the built-in UI.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Well, we figured out that the problem is related to .Net framework 3.5. Friendly URLs works fine und
    RE: Problem After Attaching/Detaching Database.mdf by Joseph Craig
    That behavior of running the installation wizard indicates a problem connecting to the database.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Nope, just a straight-up DNN install and configured in Host -> Friendly URLs as described in my orig
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds