CuteEditor & DNN 4.4.0

Last post 01-17-2007, 4:08 PM by Recovery1. 8 replies.
Sort Posts: Previous Next
  •  01-16-2007, 10:19 AM 25820

    CuteEditor & DNN 4.4.0

    I  have 3 questions, the most important being the first question:
     
    1. I used the Full.Config that is stored in the Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\Configuration\AutoConfigure folder.
    as the basis of my customized tool bar. I edited my new file with the tool bar options I wanted and saved it (in the same folder). If I change the web.config,   Registered_AutoConfigure = "mytools" 
    and load/refresh a page that has the editor, all I get is Bold, Italic,Underline, Left/Right & Justify. If I change the AutoConfigure to Full or Full_noform, then I get the correct tool bar. Why will it not display the tool bar that I have configured in mytools?  Is there another option that I need to change. I have reviewed the online documentation and have not found a solution.
     
    2. When ever I click into the Editor Box, the cursor is always centered. I have to manually make it left justified. Can  this be changed so that is defaults to left justified?
     
    3.  My Skin has a dark charcoal background, which shows through on the editor, is there a way to set this editors background to white?
     
    Thanks for our time.

     

     

    -Steve


    --
    Regards,
    Steve Topilnycky
  •  01-16-2007, 1:40 PM 25822 in reply to 25820

    Re: CuteEditor & DNN 4.4.0

    Steve,

    Registered_AutoConfigure only supports the following values:

    Member Name

    Description

    None

    Disables all items on the toolbar

    Default

    Enables the buttons in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Default.config file

    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

     
    2. When ever I click into the Editor Box, the cursor is always centered. I have to manually make it left justified. Can  this be changed so that is defaults to left justified?
     
    3.  My Skin has a dark charcoal background, which shows through on the editor, is there a way to set this editors background to white?
     
    Open your web.config file and change the EditorBodyStyle setting to:

    EditorBodyStyle="background-color:#ffffff; text-align:left"

     
     
     
     

    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

  •  01-17-2007, 1:07 AM 25841 in reply to 25822

    Re: CuteEditor & DNN 4.4.0

    Adam,
     
    Thank you for your reply. Adding the text-align:left; took care of the alignment issue.  My-color is already set to #ffffff, but my background color is still my skin. It appears that the editor area is transparent. To see what I am referring to, just visit http://www.argostuff.com/default.aspx?tabid=55&view=topics&forumid=21 and select Add New Topic.
     
    I was able to get the tool bars that I wanted, by simply editing the Simple template and setting my registered users to that value.
     
    I would also like to use the image gallery, but I would like to lock my users into 1 folder, so they can't browse all over my site, but I did not see any configuration setting in the Web.Config to do that. As a reminder, I am using DNN 4.4.0.
     
    I am attempting to tweak this before I set it as my forum default editor.
     
    Thank you for your assistance.

    --
    Regards,
    Steve Topilnycky
  •  01-17-2007, 10:45 AM 25853 in reply to 25841

    Re: CuteEditor & DNN 4.4.0

    I don't have access to your test page.
     
    >>My-color is already set to #ffffff, but my background color is still my skin.
     
    It's strange.
     
    It should work.
     
    Can you change it to EditorBodyStyle="background-color:#ff0000;text-align:left" and test again?
     
     >>I would also like to use the image gallery, but I would like to lock my users into 1 folder, so they can't browse all over my site, but I did not see any configuration setting in the Web.Config to do that. As a reminder, I am using DNN 4.4.0.

    Edit security policy file.


    The security policy file (default.config, admin.config and guest.config) can be found in the /CuteEditor/Configuration/Security folder. In security policy file you can find the ImageGalleryPath element which contains the image gallery path information within Cute Editor.  By default, it contains the following value:


    <
    security name="ImageGalleryPath">~/uploads</security>
      

    You can modify the ImageGalleryPath element to meet your own requirements.

    For example:

    Use absolute path:

    <security name="ImageGalleryPath">/uploads</security> 

    Use physical path:

    <security name="ImageGalleryPath">c:\inetpub\wwwroot\uploads</security>

     
     
     

    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

  •  01-17-2007, 1:58 PM 25869 in reply to 25853

    Re: CuteEditor & DNN 4.4.0

    Adam,
     
    >> Can you change it to EditorBodyStyle="background-color:#ff0000;text-align:left" and test again?
     
    Did as requested, no change tot he Editor Background color.
     
    >>  <security name="ImageGalleryPath">~/uploads</security>
     
    I tried absolute, Relative and Physical paths. In each case, it defaults to the  portal root: /Portals/0/
     
    For Reference purposes here are the config files:
     
    Web.config  Snippet

    <!-- Begin Cute Editor -->

    <add name="CEHtmlEditorProvider"
    type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
    providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
    UseDNNRootImageDirectory="true"
    UseDNNDefaultWidth="True"
    RemoveServerNamesFromUrl="true"
    UseRelativeLinks="true"
    RenderRichDropDown="true"
    UseSimpleAmpersand="false"
    CustomCulture=""
    ThemeType="Office2003_BlueTheme"
    DisableAutoFormatting="false"
    BreakElement="div"
    EditorBodyStyle="background-color:#ff0000; text-align:left"
    Admin_AutoConfigure = "Full"
    Admin_SecurityPolicyFile = "admin.config"
    Admin_TemplateItemList = ""
    Admin_DisableItemList = ""
    Admin_AllowPasteHtml ="true"
    Admin_EditorOnPaste = "default"
    Admin_ReadOnly = "false"
    Admin_ShowBottomBar ="true"
    Admin_ShowHtmlMode ="true"
    Admin_ShowPreviewMode ="true"
    Admin_EnableStripScriptTags ="false"
    Admin_EnableContextMenu = "true"
    Admin_EnableContextMenuEditing = "true"
    Admin_EnableContextMenuFormat = "true"
    Admin_EnableContextMenuInsert = "true"
    Admin_EnableContextMenuInsertAdvanced = "true"
    Admin_EnableContextMenuInsertFiles = "true"
    Admin_EnableContextMenuInsertForms = "true"
    Admin_EnableContextMenuRelative = "true"
    Admin_EnableContextMenuTags = "true"
    Admin_EnableContextMenuVerbs = "true"
    Registered_AutoConfigure = "Simple"
    Registered_SecurityPolicyFile = "default.config"
    Registered_TemplateItemList = ""
    Registered_DisableItemList = ""
    Registered_AllowPasteHtml ="true"
    Registered_EditorOnPaste = "default"
    Registered_ReadOnly = "false"
    Registered_ShowBottomBar ="true"
    Registered_ShowHtmlMode ="true"
    Registered_ShowPreviewMode ="true"
    Registered_EnableStripScriptTags ="false"
    Registered_EnableContextMenu ="true"
    Registered_EnableContextMenuEditing = "true"
    Registered_EnableContextMenuFormat = "true"
    Registered_EnableContextMenuInsert = "true"
    Registered_EnableContextMenuInsertAdvanced = "true"
    Registered_EnableContextMenuInsertFiles = "false"
    Registered_EnableContextMenuInsertForms = "false"
    Registered_EnableContextMenuRelative = "true"
    Registered_EnableContextMenuTags = "true"
    Registered_EnableContextMenuVerbs = "true"
    Guest_AutoConfigure = "Minimal"
    Guest_SecurityPolicyFile = "default.config"
    Guest_TemplateItemList = ""
    Guest_DisableItemList = ""
    Guest_AllowPasteHtml ="true"
    Guest_EditorOnPaste = "default"
    Guest_ReadOnly = "false"
    Guest_ShowBottomBar ="true"
    Guest_ShowHtmlMode ="true"
    Guest_ShowPreviewMode ="true"
    Guest_EnableStripScriptTags ="false"
    Guest_EnableContextMenu ="true"
    Guest_EnableContextMenuEditing = "true"
    Guest_EnableContextMenuFormat = "true"
    Guest_EnableContextMenuInsert = "true"
    Guest_EnableContextMenuInsertAdvanced = "true"
    Guest_EnableContextMenuInsertFiles = "true"
    Guest_EnableContextMenuInsertForms = "true"
    Guest_EnableContextMenuRelative = "true"
    Guest_EnableContextMenuTags = "true"
    Guest_EnableContextMenuVerbs = "true"
    />

    <!-- End Cute Editor -->
     
     
    Snippet from Default.config
     
    <security name="ImageGalleryPath">/member_images</security>

    I did not post a snippet from the simple.config, which is used for registered users, but if needed I can post it. After making each change I did refresh the screen also, but these changes seem not to take affect.
     
    What's next?

    --
    Regards,
    Steve Topilnycky
  •  01-17-2007, 2:07 PM 25871 in reply to 25869

    Re: CuteEditor & DNN 4.4.0

    Set UseDNNRootImageDirectory="false"
    >>Did as requested, no change tot he Editor Background color.
     
    I have no idea now. Send your site admin username/password to me please.
     

    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

  •  01-17-2007, 2:32 PM 25876 in reply to 25871

    Re: CuteEditor & DNN 4.4.0

    Adam,
     
    Done...

    --
    Regards,
    Steve Topilnycky
  •  01-17-2007, 3:02 PM 25877 in reply to 25876

    Re: CuteEditor & DNN 4.4.0

  •  01-17-2007, 4:08 PM 25887 in reply to 25877

    Re: CuteEditor & DNN 4.4.0

    Adam,
     
    The background is now white. Thanks... What changes were made?
     
    We are getting closer. For the image gallery, I am getting an error. It turns out that it is path error. So a little playing I came up with the correct values. Below are the details, as it applies to DNN.
     
    In the Web.Config is this value
    UseDNNRootImageDirectory="True" , then no error, but if set to false, there is an error. I change the web.config custom error property to see the actual error. It turned out to be a path error. So to correct this issue:
     
    web.config

    UseDNNRootImageDirectory
    ="false"
     
    default.config
    <security name="ImageGalleryPath">~/portals/0/member_images</security>
     
    /portals = Dnn Portal Directory
    /0 = The current Portal number
    /member_images = the directory I created for my user uploads
     
    Here is an additional question: If I have multiple sites the portal value would change, i.e., 0, 1,2, etc., does the security configs take DNN tokens, such as [PORTALID]  (I think that is the token it uses).

    --
    Regards,
    Steve Topilnycky
View as RSS news feed in XML