Re: How to restrict input to fixed styles

  •  11-29-2004, 11:17 AM

    Re: How to restrict input to fixed styles

     
    First the followings are the informations of integrating Cute Editor with dotnetnuke:

    DotNetNuke 2.1.2 Integration

    http://dnn212.cutesoft.net/

    DotNetNuke 1.x- 2.x Integration

    http://dnn2.cutesoft.net/ 

    dowload the Cute Editor for DotNetNuke 2.1.2 version:

    http://cutesoft.net/Downloads/default.aspx 
     
    >>We are considering using the CuteEditor in out DotNetNuke intranet sites. For most pages on these sites we want the users to
    >>adhere to a fixed and fairly limited set of text styles (e.g. there is one heading style, one normal text style etc). This is in order that the
    >>content has the correct corporate 'style'.
    >>So my questions are - can we, using the control in DotNetNuke, (i) remove the font size, type, colour etc buttons (ii) replace the
    >>styles in the style drop-down to the styles we have defined (iii) allow certain users access to the full range of CuteEditor functions?

    Yes, you can.

    First you need to download the Cute Editor for DotNetNuke.

    To dsable/remove the buttons, you have tow options:

    1. Use the  Editor.DisableItemList Property

    The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"

    2. Edit the configuration file directly.

    For example, we can disbable the buttons by modifying the full.config file directly.

    You can find the full.config file in CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Full.config

    You can disable any button here by setting Visible attribute to false.

    For example:

    You can disable the ForeColor and BackColor by setting Visible attribute to false:

    <item type="ForeColor" Visible="false"/>
    <item type="BackColor" Visible="false/>


    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