CuteEditor for .NET

DotNetNuke 5.x Integration

Installing Cute Editor for DotNetNuke 5.x

The following guide shows the steps to implement a CuteEditor for .NET Control into DotNetNuke 5.x application. If you haven't downloaded the software, please download it from here.

1. Deploying the CEHtmlEditorProvider

Add the CEHtmlEditorProvider (located in the archive) to the DotNetNuke 5.x solution. CEHtmlEditorProvider folder and all file it contains should be deployed to DOTNETNUKE_FOLDER\Providers\HtmlEditorProviders.


2. Deploying CuteEditor.dll assembly and license file

Copy the following files to your application bin folder.

  • CuteEditor.dll
  • DotNetNuke.CEHtmlEditorProvider.dll
  • CuteEditor.ImageEditor.dll
  • NetSpell.SpellChecker.dll
  • CuteEditor.lic
3. Edit your web.config and locate the "htmlEditor" section. Change it to:

4. Add Uploader httpModule to web.config's httpModules list

To allow CuteEditor to upload large files, you need to add Uploader HttpModule to your application.


IIS 5.0, 6.0 and IIS 7.0 Classic mode

<configuration>
  <system.web>
    <httpModules>
      <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
     </httpModules>
  </system.web>
</configuration>


IIS 7.0 Integrated mode

<configuration>
  <system.webServer>
    <modules>
      <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
    </modules>
  </system.webServer>
</configuration>
5. If you are using DNN child portals, you need to modify App_Code\Global.asax.vb file.
Please add the following code into function Global_BeginRequest.

If (app.Request.FilePath.IndexOf("/CuteSoft_Client/CuteEditor/", StringComparison.OrdinalIgnoreCase) <> -1) Then
   Dim query As String = app.Request.Url.Query
   If query <> Nothing And query.StartsWith("?") Then
      query = query.Substring(1)
   End If
   app.Context.RewritePath(app.Request.FilePath, "/fixdnnsubportalproblem", query, False)
End If