Not seeing how you customize toolbar for instance

Last post 02-07-2010, 11:08 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  02-06-2010, 11:33 AM 58559

    Not seeing how you customize toolbar for instance

     I have been on FCK for 3 years with DNN and have installed and am testing Cute Editor.
     
    I am not seeing how I create a custom toolbar for a particular instance of CE. I have an instance where all I really want is for the person to be able to use italics, underline and create a link (but without 'Browse Server').
     
    In FCK I was used to the ''Show custom editor options" - I apologize that I am not understanding from your help file under 'Toolbar customization' how to actually deploy a custom config file or toolbar for that instance. It just talks about changing XML files, but how are those applied to the instance? 
     
    thanks,
     
    Will Sugg, Planet Maine
  •  02-07-2010, 11:08 PM 58566 in reply to 58559

    Re: Not seeing how you customize toolbar for instance

    Hi Planet Maine,
     
    Option 1:
     
    Use properties TemplateItemList. The below editor will only show three button in the toolbar.
     
       <CE:Editor ID="editor1" runat="server" TemplateItemList="Save,Find,Copy">
            </CE:Editor>
     
    All button name you can fine in http://www.cutesoft.net/developer+guide/scr/Toolbar_Customization.htm ,Template Item section.
     
    Option 2:
     
    Using config file to customize toolbar, you need to set properties ConfigurationPath,like below.
     
    <CE:Editor ID="editor1" runat="server"   ConfigurationPath="~/test.config" >
            </CE:Editor>
     
    In my case, I create a file name "test.config" under the root of my site.
     
    code of test.config
    1. <?xml version="1.0" encoding="utf-8" ?>  
    2. <configuration>  
    3.   <codeviewToolbars>  
    4.     <item type="g_start" />  
    5.     <item type="image" name="Save" postback="True" />  
    6.     <item type="image" name="Print" />  
    7.     <item type="image" name="Find" />  
    8.     <item type="image" name="ToFullPage" command="FullPage" imagename="fit" hotkey="F12" />  
    9.     <item type="image" name="FromFullPage" command="FullPage" imagename="restore" hotkey="F12" />  
    10.     <item type="image" name="Cut" />  
    11.     <item type="image" name="Copy" />  
    12.     <item type="image" name="Paste" />  
    13.     <item type="image" name="SelectAll" hotkey="CTRL+A" />  
    14.     <item type="image" name="SelectNone" />  
    15.     <item type="g_end" />  
    16.   </codeviewToolbars>  
    17.   <toolbars>  
    18.     <item type="image" name="CleanCode" imagename="cleanup" />  
    19.     <item type="image" name="NetSpell" imagename="spell" />  
    20.     <item type="image" name="Cut" />  
    21.     <item type="image" name="Copy" />  
    22.   </toolbars>  
    23. </configuration>  

    Regards,
     
    ken
View as RSS news feed in XML