Re: Customizing Toolbars in DNN3.1

  •  08-24-2005, 4:41 PM

    Re: Customizing Toolbars in DNN3.1

    Antony,

    AutoConfigure Enumeration-Represents Several predefined sets of buttons. These configurations are applied using AutoConfigure property.
    AutoConfigure Enumeration
    Represents Several predefined sets of buttons. These configurations are applied using AutoConfigure property.
    [Visual Basic]
    Public Enum AutoConfigure
    [C#]
    public enum AutoConfigure
    Members
    Member Name
    Description
    None
    Disables all items on the toolbar
    Full
    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Full.config file
    Full_noform
    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Full_noform.config file
    Minimal
    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Minimal.config file
    Simple
    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Simple.config file
    Gecko
    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Gecko.config file

     
     "RegisteredUsers" is not a member of AutoConfigure Enumeration. So it will not work. CuteEditor has a property named ConfigurationPath  which allows you specify the path of your custom configuration file.

    http://cutesoft.net/developer+guide/Create_custom_configuration_file.htm

    However this property is not available in the current provider for DNN.


    Suggestion:

    You can load the different configuration file dynamically for the different roles

    Example:

         Admin_AutoConfigure = "Full"
         Registered_AutoConfigure = "Simple"
         Guest_AutoConfigure = "Minimal" 

    Then modify the built-in  configuration file directly.

    Hope it helps.

    Let me know if you have any further questions.

     

    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