Cannot install Cute Editor .NET in DotNetNUke

Last post 12-19-2005, 5:57 PM by Adam. 5 replies.
Sort Posts: Previous Next
  •  12-16-2005, 7:43 PM 13978

    Cannot install Cute Editor .NET in DotNetNUke

    Hi,
     
    I have just purchased the small business license and have downloaded the dnn 3.1 pack. I cannot get the editor to run on my dotnetnuke 3.2 installation.
     
    The instruction give clear screen shots for the first 2 steps but the web.config instructions are vague to me.
     
    Where specifically do I place <htmlEditor defaultProvider="CEHtmlEditorProvider"> code? Do I replace the existing code that is there for the <htmlEditor defaultProvider="Ftb3HtmlEditorProvider" ? Or do I place it between the <appsettings> tags>?
     
    If I replace the <htmlEditor defaultProvider="Ftb3HtmlEditorProvider" that sits within the <dotnetnuke> tags then when I go to edit the text of a module I just get blank space where the editor should be...?
     
    I think the instructions could be a little clearer (i.e. have a screenshot of where it fits in the web.config file) for those that are not so ASP.NET savy.

    If anyone has an example web.config file for a dotnetnuke installation that I could use that would be ideal.
     
    Thanks for your help in advance.
     
  •  12-17-2005, 1:25 AM 13980 in reply to 13978

    Re: Cannot install Cute Editor .NET in DotNetNUke

    M000761,
     
    Yes, you need to replace the existing  htmlEditor section of your web.config file.

    Here is an example:
     
    <configuration>
      <!-- register local configuration handlers -->
      <configSections>
        <sectionGroup name="dotnetnuke">
          <section name="data" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="logging" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="scheduling" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="htmlEditor" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="searchIndex" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="searchDataStore" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="friendlyUrl" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
          <section name="caching" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
        </sectionGroup>
        <sectionGroup name="memberrolesprototype">
          <section name="membership" type="Microsoft.ScalableHosting.Configuration.MembershipConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <section name="roleManager" type="Microsoft.ScalableHosting.Configuration.RolesConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <section name="profile" type="Microsoft.ScalableHosting.Configuration.ProfileConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <section name="anonymousIdentification" type="Microsoft.ScalableHosting.Configuration.AnonymousIdConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
        </sectionGroup>
      </configSections>
      <!-- the old connectionString setting has been deprecated and replaced with the data provider section below -->
      <appSettings>
        <add key="SiteSqlServer" value="" />
        <add key="MachineValidationKey" value="8D15A30751AF0C29020F34865A7138DA79FCE88B" />
        <add key="MachineDecryptionKey" value="A7124798D215FAA40F99FD49CDF7FB11EC8CA6B94B195071" />
        <add key="MachineValidationMode" value="SHA1" />
        <add key="InstallTemplate" value="DotNetNuke.install.resources" />
        <add key="AutoUpgrade" value="true" />
        <add key="UseDnnConfig" value="true" />
        <add key="InstallMemberRole" value="true" />
        <!--optionally install the MemberRole scripts -->
        <add key="ShowMissingKeys" value="false" />
        <!-- Show missing translation keys (for development use) -->
        <add key="EnableWebFarmSupport" value="false" />
        <!--Set to true to enable web farm suppot.  See Web Farm Support documentation for additional configuration steps.-->
        <add key="EnableCachePersistence" value="false" />
        <!--Some cached items can persist an app recycle by serializing the object to disk. Set to "true" to enable this performance enhancement.-->
        <add key="InstallationDate" value="9/8/2005" />
        <add key="CuteChat.ConnectionStringProvider" value="CuteChatControls.DotNetNukeConnectionStringProvider,CuteChatControls"/>
      </appSettings>
      <system.web>
        <!-- HttpModules for Common Functionality -->
        <httpModules>
          <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
          <add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception" />
          <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline" />
          <add name="ProfilePrototype" type="Microsoft.ScalableHosting.Profile.ProfileModule, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <add name="AnonymousIdentificationPrototype" type="Microsoft.ScalableHosting.Security.AnonymousIdentificationModule, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <add name="RoleManagerPrototype" type="Microsoft.ScalableHosting.Security.RoleManagerModule, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
          <add name="DNNMembership" type="DotNetNuke.HttpModules.DNNMembershipModule, DotNetNuke.HttpModules.DNNMembership" />
          <add name="Personalization" type="DotNetNuke.HttpModules.PersonalizationModule, DotNetNuke.HttpModules.Personalization" />
        </httpModules>
        <!-- This is for FTB 3.0 support -->
        <httpHandlers>
          <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
        </httpHandlers>
        <!-- set code access security trust level - this is generally set in the machine.config
      <trust level="Medium" originUrl="http://localhost/.*" />
      -->
        <!-- set debugmode to false for running application -->
        <compilation debug="false" />
        <!-- permits errors to be displayed for remote clients -->
        <customErrors mode="Off" />
        <!-- Forms or Windows authentication -->
        <authentication mode="Forms">
          <forms name=".DOTNETNUKE" protection="All" timeout="60" />
        </authentication>
        <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" />
        <!--
          <identity impersonate="true"/>
          <authentication mode="Windows">
          </authentication>
      -->
        <!-- allow large file uploads -->
        <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" />
        <!--  GLOBALIZATION
      This section sets the globalization settings of the application.
      Utf-8 is not supported on Netscape 4.x
      If you need netscape compatiblity leave iso-8859-1.
      UTF-8 is recommended for complex languages
      -->
        <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
        <!--<globalization culture="en-US" uiCulture="en"  fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
        <!-- page level options -->
        <pages validateRequest="false" enableViewStateMac="true" />
      </system.web>
      <memberrolesprototype>
        <!-- membership config:
                  Attributes:
                      userIsOnlineTimeWindow="int"                Time window (in minutes) to consider a User as being Online after since last activity
                      hashAlgorithm="[SHA1|SHA512|MD5|...]"   Any valid hash algorithm supported by .NET framework, default is SHA1
                  Child nodes:
                    <providers>              Providers (class must inherit from MembershipProvider)
                        <add                 Add a provider
                            name="string"    Name to identify this provider instance by
                            type="string"    Class that implements MembershipProvider
                            provider-specific-configuration />
                    </providers>
                    Configuration for SqlMembershipProvider and AccessMembershipProvider:
                       connectionStringName="string"              Name corresponding to the entry in <connectionStrings> section where the connection string for the provider is specified
                       passwordAttemptThreshold="int"             The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account
                       passwordAttemptWindow="int"                The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked
                       enablePasswordRetrieval="[true|false]"     Should the provider support password retrievals
                       enablePasswordReset="[true|false]"         Should the provider support password resets
                       requiresQuestionAndAnswer="[true|false]"   Should the provider require Q & A
           minRequiredPasswordLength="int"        The minimum password length
           minRequiredNonalphanumericCharacters="int" The minimum number of non-alphanumeric characters
                       applicationName="string"                   Optional string to identity the application: defaults to Application Metabase path
                       requiresUniqueEmail="[true|false]"         Should the provider require a unique email to be specified
                       passwordFormat="[Clear|Hashed|Encrypted]"  Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)
                       description="string"                       Description of what the provider does
            -->
        <membership userIsOnlineTimeWindow="15">
          <providers>
            <add name="DNNSQLMembershipProvider" type="DotNetNuke.Security.Membership.DNNSQLMembershipProvider, DNNSQLMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="/" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />
          </providers>
        </membership>
        <!-- Configuration for roleManager:
                    enabled="[true|false]"                            Feature is enabled?
                    cacheRolesInCookie="[true|false]"                 Cache roles in cookie?
                    cookieName=".ASPXROLES"                           Cookie Name
                    createPersistentCookie="[true|false]"             Creates a persistent cookie or session cookie?
                    cookieTimeout="30"                                Cookie Timeout
                    cookiePath="/"                                    Cookie Path
                    cookieRequireSSL="[true|false]"                   Set Secure bit in Cookie
                    cookieSlidingExpiration="[true|false]"            Reissue expiring cookies?
                    cookieProtection="[None|Validation|Encryption|All]"    How to protect cookies from being read/tampered
                    defaultProvider="string"                          Name of provider to use by default
                    domain="[domain]"                                 Enables output of the "domain" cookie attribute set to the specified value
                    maxCachedResults="int"                            Maximum number of roles to cache in cookie
                   Child nodes:
                    <providers>              Providers (class must inherit from RoleProvider)
                        <add                 Add a provider
                            name="string"    Name to identify this provider instance by
                            type="string"    Class that implements RoleProvider
                            provider-specific-configuration />
                    </providers>

                    <providers> type="TypeName"                        Class that inherits from System.Web.Security.RoleProvider
                        providerSpecificConfig                        Config for the provider

               Configuration for SqlRoleProvider:
                       connectionStringName="string"  Name corresponding to the entry in <connectionStrings> section where the connection string for the provider is specified
                       description="string"           Description of what the provider does
                       commandTimeout="int"           Command timeout value for SQL command
            -->
        <roleManager cacheRolesInCookie="true" cookieName=".ASPXROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieProtection="All">
          <providers>
            <add name="DNNSQLRoleProvider" type="DotNetNuke.Security.Role.DNNSQLRoleProvider, DNNSQLRoleProvider" connectionStringName="SiteSqlServer" applicationName="/" description="Stores and retrieves roles data from the local Microsoft SQL Server database" />
          </providers>
        </roleManager>
        <!--
                Configuration for profile:
                 <profile>
                    enabled="[true|false]"   Feature is enabled?
                    automaticSaveEnabled="[true|false]" Enable automatic save of profile
                    inherits="type-name"     Class from which the profile type inherits from. This type must inherit from ProfileBase type.
                    <providers>              Providers (class must inherit from ProfileProvider)
                        <add                 Add a provider (only single entry supported)
                            name="string"    Name to identify this provider instance by
                            type="string"    Class that implements ProfileProvider
                            provider-specific-configuration />
                    <providers>
                    <properties>                Optional element. List of properties in the Profile system
                        <add                    Add a property
                                name="string"                 Name of the property
                                type="string"                 Optional. Type of the property. Default: string.
                                readOnly="[true|false]"       Optional. Is Value read-only. Default: false.
                                defaultValue="string"         Optional. Default Value. Default: Empty string.
                                allowAnonymous="[true|false]" Optional. Allow storing values for anonymous users. Default: false.
                                serializeAs=["String|Xml|Binary|ProviderSpecific"] Optional. How to serialize the type. Default: ProviderSpecific.
                            />
                    </properties>
                 </profile>
            -->
        <profile enabled="true">
          <providers>
            <add name="AspNetSqlProvider" type="DotNetNuke.Users.Profile.DNNSQLProfileProvider, DNNSQLProfileProvider" connectionStringName="SiteSqlServer" applicationName="/" description="Stores and retrieves profile data from the local Microsoft SQL Server database" />
          </providers>
          <properties>
            <add name="FirstName" type="string" allowAnonymous="true" />
            <add name="LastName" type="string" allowAnonymous="true" />
            <add name="Unit" type="string" allowAnonymous="true" />
            <add name="Street" type="string" allowAnonymous="true" />
            <add name="City" type="string" allowAnonymous="true" />
            <add name="Region" type="string" allowAnonymous="true" />
            <add name="PostalCode" type="string" allowAnonymous="true" />
            <add name="Country" type="string" allowAnonymous="true" />
            <add name="Telephone" type="string" allowAnonymous="true" />
            <add name="Fax" type="string" allowAnonymous="true" />
            <add name="Cell" type="string" allowAnonymous="true" />
            <add name="Website" type="string" allowAnonymous="true" />
            <add name="IM" type="string" allowAnonymous="true" />
            <add name="TimeZone" type="integer" allowAnonymous="true" />
            <add name="PreferredLocale" type="string" allowAnonymous="true" />
          </properties>
        </profile>
        <!--
                anonymousIdentification configuration:
                    enabled="[true|false]"                            Feature is enabled?
                    cookieName=".ASPXANONYMOUS"                       Cookie Name
                    cookieTimeout="100000"                            Cookie Timeout in minutes
                    cookiePath="/"                                    Cookie Path
                    cookieRequireSSL="[true|false]"                   Set Secure bit in Cookie
                    cookieSlidingExpiration="[true|false]"            Reissue expiring cookies?
                    cookieProtection="[None|Validation|Encryption|All]"    How to protect cookies from being read/tampered
                    domain="[domain]"                                 Enables output of the "domain" cookie attribute set to the specified value
            -->
        <anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />
      </memberrolesprototype>
      <dotnetnuke>
       <htmlEditor defaultProvider="CEHtmlEditorProvider" >
                <providers>
        <clear/>
                    <add name = "FtbHtmlEditorProvider"
                            type = "DotNetNuke.HtmlEditor.FtbHtmlEditorProvider, DotNetNuke.FtbHtmlEditorProvider"                   
                         providerPath = "~\Providers\HtmlEditorProviders\FtbHtmlEditorProvider\"
                    />
                    <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
            UseDNNRootImageDirectory="true"
            RemoveServerNamesFromUrl="true"
            UseRelativeLinks="true"
         RenderRichDropDown="true"
         UseSimpleAmpersand="false"
         CustomCulture=""
         ThemeType="Office2003_BlueTheme"
         DisableAutoFormatting="false"
         BreakElement="div"
         EditorBodyStyle=""
         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 = "Full"
         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 = "true"
         Registered_EnableContextMenuInsertForms = "true"
         Registered_EnableContextMenuRelative = "true"
         Registered_EnableContextMenuTags = "true"
         Registered_EnableContextMenuVerbs = "true"   
        
         Guest_AutoConfigure = "Full"
         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"  
        
         Test_AutoConfigure = "Simple"
         Test_SecurityPolicyFile = "default.config"
         Test_TemplateItemList = ""
         Test_DisableItemList = ""
         Test_AllowPasteHtml  ="true"
         Test_EditorOnPaste  = "default"
         Test_ReadOnly = "false"
         Test_ShowBottomBar ="true"
         Test_ShowHtmlMode  ="true"
         Test_ShowPreviewMode  ="true"
         Test_EnableStripScriptTags  ="false"
         Test_EnableContextMenu    ="true"  
         Test_EnableContextMenuEditing  = "true"  
         Test_EnableContextMenuFormat   = "true"
         Test_EnableContextMenuInsert  = "true"
         Test_EnableContextMenuInsertAdvanced  = "true"
         Test_EnableContextMenuInsertFiles = "true"
         Test_EnableContextMenuInsertForms = "true"
         Test_EnableContextMenuRelative = "true"
         Test_EnableContextMenuTags = "true"
         Test_EnableContextMenuVerbs = "true"  
            />
                </providers>
            </htmlEditor>
        <searchIndex defaultProvider="ModuleIndexProvider">
          <providers>
            <clear />
            <add name="ModuleIndexProvider" type="DotNetNuke.Services.Search.ModuleIndexer, DotNetNuke.Search.Index" providerPath="~\Providers\SearchProviders\ModuleIndexer\" />
          </providers>
        </searchIndex>
        <searchDataStore defaultProvider="SearchDataStoreProvider">
          <providers>
            <clear />
            <add name="SearchDataStoreProvider" type="DotNetNuke.Services.Search.SearchDataStore, DotNetNuke.Search.DataStore" providerPath="~\Providers\SearchProviders\SearchDataStore\" />
          </providers>
        </searchDataStore>
        <data defaultProvider="SqlDataProvider">
          <providers>
            <clear />
            <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dbo" />
          </providers>
        </data>
        <logging defaultProvider="DBLoggingProvider">
          <providers>
            <clear />
            <add name="XMLLoggingProvider" type="DotNetNuke.Services.Log.EventLog.XMLLoggingProvider, DotNetNuke.XMLLoggingProvider" configfilename="LogConfig.xml.resources" providerPath="~\Providers\LoggingProviders\XMLLoggingProvider\" />
            <add name="DBLoggingProvider" type="DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider, DotNetNuke.Provider.DBLoggingProvider" providerPath="~\Providers\LoggingProviders\Provider.DBLoggingProvider\" />
          </providers>
        </logging>
        <scheduling defaultProvider="DNNScheduler">
          <providers>
            <clear />
            <add name="DNNScheduler" type="DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler, DotNetNuke.DNNScheduler" providerPath="~\Providers\SchedulingProviders\DNNScheduler\" debug="false" maxThreads="1" />
          </providers>
        </scheduling>
        <friendlyUrl defaultProvider="DNNFriendlyUrl">
          <providers>
            <clear />
            <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules.UrlRewrite" includePageName="true" />
          </providers>
        </friendlyUrl>
        <caching defaultProvider="FileBasedCachingProvider">
          <providers>
            <clear />
            <add name="FileBasedCachingProvider" type="DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider" providerPath="~\Providers\CachingProviders\FileBasedCachingProvider\" />
            <add name="BroadcastPollingCachingProvider" type="DotNetNuke.Services.Cache.BroadcastPollingCachingProvider.BPCachingProvider, DotNetNuke.Caching.BroadcastPollingCachingProvider" providerPath="~\Providers\CachingProviders\BroadcastPollingCachingProvider\" />
          </providers>
        </caching>
      </dotnetnuke>
    </configuration> 
     
    Hope it helps.
    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

  •  12-17-2005, 2:49 AM 13983 in reply to 13980

    Re: Cannot install Cute Editor .NET in DotNetNUke

    Thanks Adam,
     
    I managed to get it working... although I have a few issues (I am using dnn 3.2.0)
     
    1. The spell checker doesn't seem to work (I get a popup with an asp.net error message), I get the same issue if I try to edit templates from the templates dialog box.
    2. What is the difference between 'Css Class' and 'Inline Styles' in the drop downs

    3. I want to be able to control the Css Classes which appear in the drop down and am looking for the simplest possible solution. I notice that by default it includes all dotnetnuke styles. If I want to limit this list to styles contained in a custom.css file how would I do this (i.e. disable default behaviour of populating dnn css classes)?
     
    Cheers
     
    Adam
  •  12-17-2005, 4:26 PM 14001 in reply to 13983

    Re: Cannot install Cute Editor .NET in DotNetNUke

    Adam,
     
    >>1. The spell checker doesn't seem to work (I get a popup with an asp.net error message), I get the same issue if I try to edit templates from the templates dialog box.

    Can you post your error message? Is your site online so you can post a URL?

    >>2. What is the difference between 'Css Class' and 'Inline Styles' in the drop downs

    <span class="redtext">Hello World</span> // this is using the 'Css Class' 

    <span style="color:red">Hello World</span> // this is using the 'Inline Styles'

    >>3. I want to be able to control the Css Classes which appear in the drop down and am looking for the simplest possible solution. I notice that by default it includes all dotnetnuke styles. If I want to limit this list to styles contained in a custom.css file how would I do this (i.e. disable default behaviour of populating dnn css classes)?

    Yes, you can do that with setting Editor.AutoParseClasses property to false.

    Editor.AutoParseClasses Property
    Specify whether or not the Cute Editor should automagically parse the CSS classes from EditorWysiwygModeCss and populate all items into CssClass dropdown.

    In the CuteEditor section of your web.config file, just add AutoParseClasses = "false"

    Then Edit Dropdown Configuration file (Common.config).

    The dropdown configuration file (Common.config) can be found in the /CuteEditor/Configuration/Shared folder. In dropdown configuration file you can find the CssClass element which contains the configuration information for the CSS Class dropdown within Cute Editor.  

    For details, please check this article:

    http://cutesoft.net/developer+guide/Class_dropdown_Customization.htm

    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

  •  12-18-2005, 1:04 AM 14005 in reply to 14001

    Re: Cannot install Cute Editor .NET in DotNetNUke

    OK Thanks,

    1.
    I found out I didn't have thedictionary files installed which caused the spell check error

    2.
    With the Edit Template error I get an error message saying:
     
    SecurityPolicyFile :/CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found
     
    But I have checked and the file does exist in that location.
     
    3.
    Rather than secify cssclasses in the common.config file is it possible to set  AutoParseClasses = "true" and set EditorWysiwygModeCss = "my.css" at a dnn role level (i.e. guest_EditorWysiwygModeCss) rather than use the default behaviur of parsing all dnn css files. I tried but it didn't work.
    my url is www.eclipsetouring.net, on the home page you should be able to edit the text of one of the modules.

    Thanks

    Adam
     
     
  •  12-19-2005, 5:57 PM 14039 in reply to 14005

    Re: Cannot install Cute Editor .NET in DotNetNUke

    M000761,

    >>With the Edit Template error I get an error message saying:
     
    SecurityPolicyFile :/CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found

    This is a bug. We are working on the fix.

    Here is a temp solution:

    Copy CuteSoft_client folder and all files it contains to the root of you site.

    >>3. Rather than secify cssclasses in the common.config file is it possible to set  AutoParseClasses = "true" and set EditorWysiwygModeCss = "my.css" at a dnn role level (i.e. guest_EditorWysiwygModeCss) rather than use the default behaviur of parsing all dnn css files. I tried but it didn't work.
    my url is www.eclipsetouring.net, on the home page you should be able to edit the text of one of the modules.

    It's possible.

    Please add the EditorWysiwygModeCss="/somefolder/some.css" into the CuteEditor section of DNN web.config.

    If you want to let different role have the different EditorWysiwygModeCss, you need to modify the provider (CEHtmlEditorProvider.vb).

    If you want to know the steps, please let me know.
     
     

    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 as RSS news feed in XML