Re: Configure CuteEditor in Community Server 2007

  •  03-06-2008, 1:37 PM

    Re: Configure CuteEditor in Community Server 2007

    jeffesp,
     
    By default Cute Editor provider for CS shows different toolbar based on the user's role.
     
    If you want to change this behavior, you can modify the provider project.
     
    Open CuteEditorWraper.cs and modify the following code:
     
     
    if(user.IsAdministrator|| user.IsBlogAdministrator || user.IsGalleryAdministrator)
       {
        base.ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CSAdministrator.config";
        base.SecurityPolicyFile="Administrator.config";
       }
       else if(user.IsModerator)
       {
        base.ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CSModerator.config";
        base.SecurityPolicyFile="Moderator.config";
       }
       else if(user.IsRegistered)
       {
        base.ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CSRegistered.config";
        base.SecurityPolicyFile="Registered.config";
       }
       else
       {
        base.ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CSGuest.config";
        base.SecurityPolicyFile="Guest.config";
       }

    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