Re: DNN Provider 4.0 - Customize Toolbar by Role?

  •  04-14-2005, 12:45 PM

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Cetalfio,

    For DNN3, please use your own web.config file.
     
    Just replace the htmlEditor section in your web.config using the following code:
     
    <htmlEditor defaultProvider="CEHtmlEditorProvider">
       <providers>
        <clear />
        <!--
             FTB options:
             ============
             toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac"  Sets the default FTB Toolbar style
             enableProFeatures="[true|false]"                         Pro features require a license from FreeTextBox
                                                                      or you may test them with localhost only
             spellCheck="[{none}|IeSpellCheck|NetSpell]"              IeSpellCheck is free for non-commercial use only
                                                                      NetSpell requires some integration work
        -->
        <add name="Ftb3HtmlEditorProvider"
         type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
         providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
         toolbarStyle="Office2003"
         enableProFeatures="false"
         spellCheck="" />
        <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
            UseDNNRootImageDirectory="true"
            RemoveServerNamesFromUrl="true"
            UseRelativeLinks="false"
            RenderRichDropDown="true"
            MaxHTMLLength="0"
            MaxTextLength="0"
            CustomCulture=""
            ThemeType=""
            DisableAutoFormatting="false"
            DisableClassList=""
            HelpUrl=""
            BreakElement="div"
            EditorBodyStyle=""
         Admin_AutoConfigure = "Full"
         Admin_SecurityPolicyFile = "admin.config"
         Admin_DisableItemList = ""
         Admin_AllowPasteHtml = "true"
         Admin_EditorOnPaste  = "default"
         Admin_ReadOnly = "false"
         Admin_ShowBottomBar ="true"
         Admin_ShowHtmlMode = "false"
         Admin_ShowPreviewMode = "true" 
         Registered_AutoConfigure = "Simple"
         Registered_SecurityPolicyFile = "default.config"
         Registered_DisableItemList = ""
         Registered_AllowPasteHtml = "true"
         Registered_EditorOnPaste  = "default"
         Registered_ReadOnly = "false"
         Registered_ShowBottomBar ="true"
         Registered_ShowHtmlMode = "false"
         Registered_ShowPreviewMode = "true"        
         Guest_AutoConfigure = "Minimal"
         Guest_SecurityPolicyFile = "guest.config"
         Guest_DisableItemList = "Save"
         Guest_AllowPasteHtml = "true"
         Guest_EditorOnPaste  = "default"
         Guest_ReadOnly = "false"
         Guest_ShowBottomBar ="true"
         Guest_ShowHtmlMode = "true"
         Guest_ShowPreviewMode = "true"
            />
           
       </providers>
      </htmlEditor>
     
    Keep me posted.
     
     

    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