Customization Toolbar Dotnetnuke???

Last post 04-24-2007, 6:55 AM by fabert. 7 replies.
Sort Posts: Previous Next
  •  04-19-2007, 5:05 AM 28595

    Customization Toolbar Dotnetnuke???

    Hi @all,
     
    I have successfully created my own css-styles in the css-class dropdownlist by editing the default.css of the CuteEditor and the default.css of Dotnetnuke.
    Now I want to customize the dropdownlist "FormatBlock, FontName and FontSize". In the help is described, that I have to do the customization in the common.config file.
     
    I don´t know why I have every entrie double in the list ??? (As shown in the screenshot)
    If I delete entries from the common.config, only one entrie of every thing is in the list.
    But where are the other settings defined ???? Is there another file which I have to modifie ????
    I need more information about the customization in DOTNETNUKE ?  
     
    Screenshot:
     
     
     
    Thanks for help !!!!!!!
  •  04-19-2007, 12:08 PM 28616 in reply to 28595

    Re: Customization Toolbar Dotnetnuke???

    fabert,
     
    You may have duplicate entries in the common.config file.
     
    Please open common.config  file and remove FormatBlock, FontName and FontSize. Then add it back.
     
     

    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

  •  04-20-2007, 12:58 AM 28640 in reply to 28616

    Re: Customization Toolbar Dotnetnuke???

    Adam,
     
    there are no duplicate entries in the common.config file for FormatBlock, FontName and FontSize.
    After removing the FormatBlock, FontName and FontSize entries from the common.config, there are no double entries in the dropdownlist. But why are entries in the dropdownlist, after I remove the entries in the common.config file ??? And where could I customize these entries ?
    I need your assistance !
     
     
     
    Attached you see my current config file ( AFTER REMOVING THE ENTRIES for FormatBlock, FontName and FontSize ).
     
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <treedropdowns>
      <LinkTree>
       <item text="Msdn.microsoft.com" Selectable="False">
        <html><![CDATA[Msdn.microsoft.com <img border=0 align='absMiddle' src='http://cutesoft.net/data/msdn16.gif' />]]></html>
        <item text=".NET Framework" value="http://msdn.microsoft.com/netframework/">
         <html><![CDATA[.NET Framework]]></html>
        </item>
        <item text="ASP.NET Home" value="http://msdn.microsoft.com/asp.net/">
         <html><![CDATA[ASP.NET Home]]></html>
        </item>
       </item>
       <item text="Yahoo.com" Selectable="False">
        <html><![CDATA[Yahoo.com <img border=0 align='absMiddle' src='http://cutesoft.net/data/yahoo.gif' /> ]]></html>
        <item text="Yahoo Web" value="http://www.yahoo.com/">
         <html><![CDATA[Yahoo Web ]]></html>
        </item>
       </item>
       <item text="CuteSoft Products" Selectable="False">
        <html><![CDATA[CuteSoft Products <img border=0 align='absMiddle' src='http://cutesoft.net/data/cutesoft.gif' /> ]]></html>
        <item text="Cute Chat" value="http://cutesoft.net/ASP.NET+Chat/default.aspx">
         <html><![CDATA[Cute Chat]]></html>
        </item>
       </item>
      </LinkTree>
     </treedropdowns>
     <dropdowns>
      <CssClass>
       <item text="[[NotSet]]" value="null"></item>
       <item text="Red Text" value="RedColor">
        <html><![CDATA[<span style='color:red'>RedColor</span>]]></html>
       </item>
       <item text="textbold" value="textbold">
        <html><![CDATA[<span class='textbold'>textbold</span>]]></html>
       </item>
       <item text="Highlight" value="Highlight">
        <html><![CDATA[<span style='background-color: yellow'>Highlight</span>]]></html>
       </item>
       <item text="Bold Green Text" value="BoldGreen">
        <html><![CDATA[<span style='color: green; font-weight: bold;'>Bold Green Text</span>]]></html>
       </item>
      </CssClass>
      <CssStyle>
       <item text="[[NotSet]]" value="null"></item>
       <item text="font-size:18pt" value="font-size:18pt"></item>
       <item text="color:red" value="color:red"></item>
       <item text="border:1px red solid" value="border:1px red solid"></item>
       <!--<item text="filter:alpha(opacity=20)">filter:alpha(opacity=20)</item> -->
      </CssStyle>
      <Codes>
       <item text="Email signature">
        <value><![CDATA[<font face="Courier New, Courier, mono" size="-1">                ''~``<br />                        ( o o )<br />+------------------.oooO--(_)--Oooo.---------------------+<br />| John Smith                                             |<br />|                       E-mail: <a href="mailto:[email protected]">[email protected]</a>  |<br />| Fake Company          <a href="http://www.fake-company.com/">http://www.fake-company.com/</a>     |<br />| Ottawa, Canada     (   )                               |<br />+---------------------\ (----(   )-----------------------+<br />                       \_)    ) /<br />                             (_/</font>]]></value>
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/signature.gif' /> Email signature]]></html>
       </item>
       <item text="Contact us">
        <value><![CDATA[<div>Your satisfaction is necessary to our success. Our goal is to provide you with the best level of customer service, and we welcome your comments and suggestions<br /><br /><strong>Email:<br /><br /></strong>Sales: <font color="#0000ff">
          <a href="mailto:[email protected]">[email protected]</a>
         </font> <br /><br />General: <a href="mailto:[email protected]">[email protected]</a><br /><br />Support: <a href="mailto:[email protected]">[email protected] </a><br /><strong><br />Address:</strong><br /><br />CuteSoft<br />35 SHERWOOD CRES<br />BELLEVILLE, ON<br />K8P 5G2<br />Canada </div>]]></value>
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/contact.gif' /> Contact us]]></html>
       </item>
      </Codes>
      <Links>
       <item text="CuteSoft" value="http://cutesoft.net/">
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/signature.gif' /> CuteSoft]]></html>
       </item>
       <item text="Mail to us" value="mailto:[email protected]">
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/email.gif' /> Mail to us]]></html>
       </item>
       <item text="Yahoo.com" value="http://www.yahoo.com/">
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/yahoo.gif' /> Yahoo.com]]></html>
       </item>
       <item text="Google.com" value="http://www.google.com">
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/Google.gif' /> Google.com]]></html>
       </item>
       <item text="MSDN" value="http://msdn.com/">
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/msdn16.png' /> MSDN]]></html>
       </item>
      </Links>
      <Images>
       <item text="Logo">
        <value><![CDATA[<img border="0" src="http://www.cutesoft.net/images/logo.gif" />]]></value>
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/logo_s.gif' /> Company logo]]></html>
       </item>
       <item text="Flower">
        <value><![CDATA[<img border="0" src="http://cutesoft.net/data/j0313820.jpg" />]]></value>
        <html><![CDATA[<img border=0 align='absMiddle' src='http://cutesoft.net/data/flower_s.gif' /> Flower]]></html>
       </item>
      </Images>
      <DropForeColor>
       <item text="[[NotSet]]" value="null"></item>
       <item text="Black" color="Black" value="Black"></item>
       <item text="Red" color="Red" value="Red"></item>
      </DropForeColor>
      <DropBackColor>
       <item text="[[NotSet]]" value="null"></item>
       <item text="White" bgColor="White" value="White"></item>
       <item text="Red" bgColor="Red" value="Red"></item>
      </DropBackColor>
      <Zoom>
       <item text="400%" value="400"></item>
       <item text="300%" value="300"></item>
       <item text="200%" value="200"></item>
       <item text="100%" value="100"></item>
       <item text="80%" value="80"></item>
       <item text="75%" value="75"></item>
       <item text="66%" value="66"></item>
       <item text="50%" value="50"></item>
       <item text="33%" value="33"></item>
       <item text="25%" value="25"></item>
      </Zoom>
      </dropdowns>
     <contextmenus>
      <define name="Undo" text="[[Undo]]" command="Undo" hotkey="CTRL+Z" />
      <define name="Redo" text="[[Redo]]" command="Redo" hotkey="CTRL+Y" />
      <define name="Cut" text="[[Cut]]" command="Cut" hotkey="CTRL+X" />
      <define name="Copy" text="[[Copy]]" command="Copy" hotkey="CTRL+C" />
      <define name="Paste" text="[[Paste]]" command="Paste" hotkey="CTRL+V" />
      <define name="Delete" text="[[Delete]]" command="Delete" hotkey="DELETE" />
      <define name="SelectAll" text="[[SelectAll]]" command="SelectAll" hotkey="CTRL+A" />
      <define name="PasteText" text="[[PasteText]]" command="PasteText" />
      <define name="PasteWord" text="[[PasteWord]]" command="PasteWord" />
      <define name="ToggleBorder" text="[[ToggleBorder]]" command="ToggleBorder" image="borders" />
      <define name="FromFullPage" text="[[FromFullPage]]" command="FullPage" hotkey="F12"
       image="restore" condition="editor.GetFullPage()" />
      <define name="ToFullPage" text="[[ToFullPage]]" command="FullPage" hotkey="F12" image="fit"
       condition="!editor.GetFullPage()" />
      <define name="Bold" text="[[Bold]]" command="Bold" hotkey="Ctrl+B" />
      <define name="Italic" text="[[Italic]]" command="Italic" hotkey="Ctrl+I" />
      <define name="Underline" text="[[Underline]]" command="Underline" hotkey="Ctrl+U" image="under" />
      <define name="StrikeThrough" text="[[StrikeThrough]]" command="StrikeThrough" image="strike" />
      
      <define name="ImageGalleryByBrowsing" command="ImageGalleryByBrowsing" text="[[ImageBrowsing]]"
       image="image" />
      <define name="InsertImage" command="InsertImage" text="[[Image]]" image="eximage" />
      <define name="InsertFlash" command="InsertFlash" text="[[Flash]]" image="flash" />
      <define name="InsertMedia" command="InsertMedia" text="[[Media]]" image="media" />
      <define name="InsertDocument" command="InsertDocument" text="[[Document]]" image="document" />
      <define name="InsertTemplate" command="InsertTemplate" text="[[Template]]" image="template" />
      
      <define name="InsertTable" command="InsertTable" text="[[Table]]" image="instable" />
      <define name="InsertRowTop" command="InsertRowTop" text="[[InsertRowTop]]" image="instable"/>
      <define name="InsertRowBottom" command="InsertRowBottom" text="[[InsertRowBottom]]" image="insrow_b"/>
      <define name="DeleteRow" command="DeleteRow" text="[[DeleteRow]]" image="delrow"/>
      <define name="InsertColumnLeft" command="InsertColumnLeft" text="[[InsertColumnLeft]]" image="inscol_l"/>
      <define name="InsertColumnRight" command="InsertColumnRight" text="[[InsertColumnRight]]" image="inscol_r"/>
      <define name="DeleteColumn" command="DeleteColumn" text="[[DeleteColumn]]" image="delcol"/>
      <define name="InsertCell" command="InsertCell" text="[[InsertCell]]" image="inscell"/>
      <define name="DeleteCell" command="DeleteCell" text="[[DeleteCell]]" image="delcell"/>
      <define name="EditRow" command="EditRow" text="[[EditRow]]" image="row"/>
      <define name="EditCell" command="EditCell" text="[[EditCell]]" image="cell"/>
      <define name="MergeRight" command="MergeRight" text="[[MergeRight]]" image="mrgcell_r"/>
      <define name="MergeBottom" command="MergeBottom" text="[[MergeBottom]]" image="mrgcell_b"/>
      <define name="HorSplitCell" command="HorSplitCell" text="[[HorSplitCell]]" image="spltcell_r"/>
      <define name="VerSplitCell" command="VerSplitCell" text="[[VerSplitCell]]" image="spltcell_b"/>
      
      <define name="InsertHorizontalRule" command="InsertHorizontalRule" text="[[HorRule]]" image="rule" />  
      <define name="InsertFieldSet" command="InsertFieldSet" text="[[InsertFieldSet]]" image="groupbox" />
      <define name="InsertGridLayoutPanel" command="InsertGridLayoutPanel" text="[[GridLayoutPanel]]" image="text" />
      <define name="InsertParagraph" command="InsertParagraph" text="[[Paragraph]]" image="-" hotkey="Ctrl+M" />
      <define name="InsertLineBreak" command="InsertLineBreak" text="[[LineBreak]]" image="-" hotkey="Shift+Enter" />
      <define name="InsertOrderedList" command="InsertOrderedList" text="[[OrderedList]]" image="-" />
      <define name="InsertUnorderedList" command="InsertUnorderedList" text="[[UnorderedList]]" image="-" />
      
      <define name="InsertForm" command="InsertForm" text="[[InsertForm]]" image="form" />
      <define name="InsertInputText" command="InsertInputText" text="[[InsertInputText]]" image="textbox" />
      <define name="InsertTextBox" command="InsertTextBox" text="[[InsertTextBox]]" image="textarea" />
      <define name="InsertRadioBox" command="InsertRadioBox" text="[[InsertRadioBox]]" image="optionbutton" />
      <define name="InsertCheckBox" command="InsertCheckBox" text="[[InsertCheckBox]]" image="checkbox" />
      <define name="InsertListBox" command="InsertListBox" text="[[InsertListBox]]" image="listbox" />
      <define name="InsertDropDown" command="InsertDropDown" text="[[InsertDropDown]]" image="dropdownbox" />
      <define name="InsertInputImage" command="InsertInputImage" text="[[InsertInputImage]]" image="imagebutton" />
      <define name="InsertInputSubmit" command="InsertInputSubmit" text="[[InsertInputSubmit]]" image="submit" />
      <define name="InsertInputReset" command="InsertInputReset" text="[[InsertInputReset]]" image="Reset" />
      <define name="InsertInputReset" command="InsertInputReset" text="[[InsertInputReset]]" image="passwordfield" />
      <define name="InsertInputHidden" command="InsertInputHidden" text="[[InsertInputHidden]]" image="hiddenfield" />
      <define name="InsertInputButton" command="InsertInputButton" text="[[InsertInputButton]]" image="pushbutton" />
      
      
      <define name="Paste" command="Paste" text="[[Paste]]"/>
      <define name="PasteText" command="PasteText" text="[[PasteText]]"/>
      <define name="PasteWord" command="PasteWord" text="[[PasteWord]]"/>
      <define name="PasteAsHTML" command="PasteAsHTML" text="[[PasteAsHTML]]"/>
      
      
      <define name="EditGroup" text="[[Edit]]">
       <subItems>
        <ref name="Undo" />
        <ref name="Redo" />
        <spliter />
        <ref name="SelectAll" />
        <ref name="PasteText" />
        <ref name="PasteWord" />
        <spliter />
        <ref name="ToggleBorder" />
        <ref name="FromFullPage" />
        <ref name="ToFullPage" />
       </subItems>
       <initializer>
       <![CDATA[
       ]]>
       </initializer>
      </define>
      <define name="FormattingGroup" text="[[Formatting]]">
       <subItems>
        <ref name="Bold" />
        <ref name="Italic" />
        <ref name="Underline" />
        <ref name="StrikeThrough" />
       </subItems>
      </define>
      <define name="InsertGroup" text="[[Insert]]">
       <subItems>
        <ref name="ImageGalleryByBrowsing" />
        <ref name="InsertImage" />
        <ref name="InsertFlash" />
        <ref name="InsertMedia" />
        <ref name="InsertDocument" />
        <ref name="InsertTemplate" />
        <spliter />
        <ref name="InsertTable" />
        <ref name="InsertHorizontalRule" />
        <spliter />
        <ref name="InsertAdvancedGroup"/>
        <ref name="InsertFormGroup"/>
       </subItems>
      </define>
      <define name="InsertAdvancedGroup" text="[[Advanced]]">
       <subItems>
        <ref name="InsertParagraph" />
        <ref name="InsertLineBreak" />
        <ref name="InsertOrderedList" />
        <ref name="InsertUnorderedList" />
        <ref name="InsertFieldSet" />
        <ref name="InsertGridLayoutPanel" />
       </subItems>
      </define>
      
      <define name="InsertFormGroup" text="[[InsertForm]]">
       <subItems>
        <ref name="InsertForm" />
        <ref name="InsertInputText" />
        <ref name="InsertTextBox" />
        <ref name="InsertRadioBox" />
        <ref name="InsertCheckBox" />
        <ref name="InsertListBox" />
        <ref name="InsertDropDown" />
        <ref name="InsertInputImage" />
        <ref name="InsertInputSubmit" />
        <ref name="InsertInputReset" />
        <ref name="InsertInputReset" />
        <ref name="InsertInputHidden" />
        <ref name="InsertInputButton" />
       </subItems>
      </define>
        
      <define name="InsertTableGroup" text="[[InsertTable]]">
       <subItems>
        <ref name="InsertTable" />
        <ref name="InsertRowTop" />
        <ref name="InsertRowBottom" />
        <ref name="DeleteRow" />
        <ref name="InsertColumnLeft" />
        <ref name="InsertColumnRight" />
        <ref name="DeleteColumn" />
        <ref name="InsertCell" />
        <ref name="DeleteCell" />
        <ref name="EditRow" />
        <ref name="EditCell" />
        <ref name="MergeRight" />
        <ref name="MergeBottom" />
        <ref name="HorSplitCell" />
        <ref name="VerSplitCell" />
       </subItems>
      </define>
      
      <define name="PasteGroup" text="[[Paste]]">
       <subItems>  
        <ref name="Paste" />
        <ref name="PasteText" />
        <ref name="PasteWord" />
        <ref name="PasteAsHTML" />
       </subItems>
      </define>
     </contextmenus>
    </configuration>
  •  04-23-2007, 2:09 AM 28675 in reply to 28640

    Re: Customization Toolbar Dotnetnuke???

    No ideas ?
  •  04-23-2007, 10:52 AM 28690 in reply to 28675

    Re: Customization Toolbar Dotnetnuke???

    fabert,
     
    If your site online?
    If so, can you setup FTP access to your site and send it to me?
     
     

    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

  •  04-24-2007, 12:47 AM 28742 in reply to 28690

    Re: Customization Toolbar Dotnetnuke???

    Adam,
     
    the site is not online yet! We are testing which editor is the best for us. I need a solution before we buy Cute Editor. 
     
    I repeat it again:
    I´ve got NO entries in the common.config file for FormatBlock, FontName and FontSize. I don´t know where the entries are defined ? In a css file ???
     
    Is there a help-file especially for Dotnetnuke? 
     
     
  •  04-24-2007, 1:25 AM 28743 in reply to 28742

    Re: Customization Toolbar Dotnetnuke???

    fabert,
     
    >>for FormatBlock, FontName and FontSize
     
    They are defined in common.config file.

    >>Is there a help-file especially for Dotnetnuke? 
     
    No. After you install cuteEditor for DNN, the developer's guide also works for Dotnetnuke.
     
    Here is my suggestion:
     
    1. Remove CuteEditor.dll and client files from your projects
     
    2. Download the latest build from:
     
    3. Do the installation again.
     
    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

  •  04-24-2007, 6:55 AM 28753 in reply to 28743

    Re: Customization Toolbar Dotnetnuke???

    Adam,
     
    thanks for help. It work´s after new installation !
View as RSS news feed in XML