Re: DNN 4.3.4 populating "Css Class" dropdown list

  •  09-29-2006, 1:47 PM

    Re: DNN 4.3.4 populating "Css Class" dropdown list

    Jan,
     
    Thanks for the head up. We will look into this issue.
     
    >>Where can I find some documentation?
     
    Cute Editor Class reference:
     
     
    Cute Editor Developer's Guide:
     
     
    >>There was no CuteEditor section in my DNN WEB.CONFIG, so where should "EditorWysiwygModeCss="/somefolder/portal.css" " be created?
     
    Yes.
     
    <htmlEditor defaultProvider="CEHtmlEditorProvider" >
                <providers>
        <clear/>
                    <add name = "FtbHtmlEditorProvider"
                            type = "DotNetNuke.HtmlEditor.FtbHtmlEditorProvider, DotNetNuke.FtbHtmlEditorProvider"                   
                         providerPath = "~\Providers\HtmlEditorProviders\FtbHtmlEditorProvider\"
                    />
                    <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
                UseDNNRoleASFileNamePrefix="false"  
            UseDNNRootImageDirectory="true"
            UseDNNDefaultWidth="false"       
            RemoveServerNamesFromUrl="true"
            ConvertHTMLTagstoLowercase="true"
            EditorWysiwygModeCss="/somefolder/portal.css" 
            UseRelativeLinks="true"
            UseHTMLEntities="true"
         RenderRichDropDown="true"
         UseSimpleAmpersand="false"
         CustomCulture=""
         ThemeType="Office2003_BlueTheme"
         DisableAutoFormatting="false"
         BreakElement="div"
         EditorBodyStyle="background-color:#ffffff"
         Admin_AutoConfigure = "Full"
         Admin_SecurityPolicyFile = "admin.config"
         Admin_TemplateItemList = ""
         Admin_DisableItemList = ""
         Admin_AllowPasteHtml  ="true"
         Admin_EditorOnPaste  = "default"
         Admin_ReadOnly = "false"
         Admin_ShowBottomBar ="true"
         Admin_ShowHtmlMode  ="true"
         Admin_ShowPreviewMode  ="true"
         Admin_EnableStripScriptTags  ="false" 
         Admin_EnableContextMenu    = "true"
         Admin_EnableContextMenuEditing  = "true"  
         Admin_EnableContextMenuFormat   = "true"
         Admin_EnableContextMenuInsert  = "true"
         Admin_EnableContextMenuInsertAdvanced  = "true"
         Admin_EnableContextMenuInsertFiles = "true"
         Admin_EnableContextMenuInsertForms = "true"
         Admin_EnableContextMenuRelative = "true"
         Admin_EnableContextMenuTags = "true"
         Admin_EnableContextMenuVerbs = "true"          
         
         Registered_AutoConfigure = "Full"
         Registered_SecurityPolicyFile = "default.config"
         Registered_TemplateItemList = ""
         Registered_DisableItemList = ""
         Registered_AllowPasteHtml  ="true"
         Registered_EditorOnPaste  = "default"
         Registered_ReadOnly = "false"
         Registered_ShowBottomBar ="true"
         Registered_ShowHtmlMode  ="true"
         Registered_ShowPreviewMode  ="true"
         Registered_EnableStripScriptTags  ="false" 
         Registered_EnableContextMenu    ="true" 
         Registered_EnableContextMenuEditing  = "true"  
         Registered_EnableContextMenuFormat   = "true"
         Registered_EnableContextMenuInsert  = "true"
         Registered_EnableContextMenuInsertAdvanced  = "true"
         Registered_EnableContextMenuInsertFiles = "true"
         Registered_EnableContextMenuInsertForms = "true"
         Registered_EnableContextMenuRelative = "true"
         Registered_EnableContextMenuTags = "true"
         Registered_EnableContextMenuVerbs = "true"   
         
         Guest_AutoConfigure = "Minimal"
         Guest_SecurityPolicyFile = "default.config"
         Guest_TemplateItemList = ""
         Guest_DisableItemList = ""
         Guest_AllowPasteHtml  ="true"
         Guest_EditorOnPaste  = "default"
         Guest_ReadOnly = "false"
         Guest_ShowBottomBar ="true"
         Guest_ShowHtmlMode  ="true"
         Guest_ShowPreviewMode  ="true"
         Guest_EnableStripScriptTags  ="false" 
         Guest_EnableContextMenu    ="true"  
         Guest_EnableContextMenuEditing  = "true"  
         Guest_EnableContextMenuFormat   = "true"
         Guest_EnableContextMenuInsert  = "true"
         Guest_EnableContextMenuInsertAdvanced  = "true"
         Guest_EnableContextMenuInsertFiles = "true"
         Guest_EnableContextMenuInsertForms = "true"
         Guest_EnableContextMenuRelative = "true"
         Guest_EnableContextMenuTags = "true"
         Guest_EnableContextMenuVerbs = "true" 
            />
                </providers>
            </htmlEditor>
    >>The styles in the editor, they seems to be coming from DNN, are they loaded from the actual physical files in the DNN directory structure?
     
    Yes.
     
    The styles are loaded from the following 4 files: default.css, skin.css, ActiveTab skin.css and portal.css.
     
        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
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread