Re: DotNetNuke Background problem

  •  08-22-2005, 1:57 AM

    Re: DotNetNuke Background problem

    After getting no change to the above, I went and commented out most of the code as follows below. I am therefore setting EditorWysiwygModeCss to "", which is obviously not what I am meant to be doing. However, it now seems to work better. EditorBodyStyle can be configured in Web.Config. However my formating and paragraphing seems to have gone to hell. So obviously the answer is somewhere between what you originally gave me and what I did .
     

    If _EditorWysiwygModeCss = "" Then

    'Dim s1, s2, s3, s4 As String

    's1 = Common.Globals.HostPath & "default.css" 'default css

    's2 = PortalSettings.ActiveTab.SkinPath & "skin.css" 'skin css

    's3 = (PortalSettings.ActiveTab.SkinSrc).Substring(0, PortalSettings.ActiveTab.SkinSrc.LastIndexOf("/")) & "/skin.css"

    's4 = PortalSettings.HomeDirectory & "portal.css" 'portal stylesheet

    'cntlCE.EditorWysiwygModeCss = s1 & "," & s2 & "," & s3 & ", " & s4

    ' Dim s2, s3, s4 As String

    ' s2 = PortalSettings.ActiveTab.SkinPath & "skin.css" 'skin css

    ' s3 = (PortalSettings.ActiveTab.SkinSrc).Substring(0, PortalSettings.ActiveTab.SkinSrc.LastIndexOf("/")) & "/skin.css"

    ' s4 = PortalSettings.HomeDirectory & "portal.css" 'portal stylesheet

    ' cntlCE.EditorWysiwygModeCss = s2 & "," & s3 & ", " & s4

    cntlCE.EditorWysiwygModeCss = _EditorWysiwygModeCss

    Else

    cntlCE.EditorWysiwygModeCss = _EditorWysiwygModeCss

     

View Complete Thread