Vous êtes ici Forums
  |  Connexion
 Forums
HomeHomeForums DNNForums DNNAnnoncesAnnoncesTUTO - Installer FCKEditor TUTO - Installer FCKEditor
Précédente
 
Suivante
Nouveau message
16/11/2006 16:22
 
Voici un petit tuto pour installer l'editeur FCKEditor a la place de l'editeur de DNN (Free TextBox).

Etape 1 : Se procurer FCKEditor pour DNN : Télécharger

Etape 2 : Extraire l’archive dans un répertoire temp

Etape 3 : Copier les repertoires Bin et Providers a la racine de votre installation DNN (a la question il existe deja un repertoire Bin et Providers répondez tous, il n’y a pas de fichier remplacer juste des ajouts)

Etape 4 : Editer le web.config et remplacez la section toute la section

  <htmlEditor
      defaultProvider="Ftb3HtmlEditorProvider">
      <providers>
        <clear/>
        <!--
                     FTB options:
                     ============
                     toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac"  Sets the default FTB Toolbar style
                     enableProFeatures="[true|false]"                         Pro features require a license from FreeTextBox
                                                                              or you may test them with localhost only
                     spellCheck="[{none}|IeSpellCheck|NetSpell]"              IeSpellCheck is free for non-commercial use only
                                                                              NetSpell requires some integration work
                -->
        <add
          name="Ftb3HtmlEditorProvider"
          type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
          providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
          toolbarStyle="Office2003"
          enableProFeatures="false"
          spellCheck=""/>
      </providers>
    </htmlEditor>


par

              <htmlEditor defaultProvider="FckHtmlEditorProvider">
            <providers>
                <clear />
                <!--
                     FTB options:
                     ============
                     toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac"  Sets the default FTB Toolbar style
                     enableProFeatures="[true|false]"                         Pro features require a license from FreeTextBox
                                                                              or you may test them with localhost only
                     spellCheck="[{none}|IeSpellCheck|NetSpell]"              IeSpellCheck is free for non-commercial use only
                                                                              NetSpell requires some integration work
                -->
                <add name="Ftb3HtmlEditorProvider"
                    type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
                    providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
                    toolbarStyle="Office2003"
                    enableProFeatures="false"
                    spellCheck="" />
                <!--
                     DSFCK options:
                     ============
                     Documentation not ready yet
                    
                -->
                    <add name="FckHtmlEditorProvider"
                    type="DotNetNuke.HtmlEditor.FckHtmlEditorProvider.FckHtmlEditorProvider, DotNetNuke.FckHtmlEditorProvider"
                    providerPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/"
                    CustomConfigurationPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/custom/FCKConfig.js"
                    EnhancedSecurityDefault="false"
                    SecureConfigurationPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/custom/FCKConfigSecure.js"
                    ImageGalleryPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/fckimagegallery.aspx"
                    ImageUploadPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/fckimagegallery.aspx"
                    ImageAllowedFileTypes="gif,png,bmp,jpg"
                    FlashGalleryPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/fckimagegallery.aspx"
                    FlashUploadPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/fckimagegallery.aspx"
                    FlashAllowedFileTypes="fla,swf"
                    LinksGalleryPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/fcklinkgallery.aspx"
                    DynamicStylesGeneratorPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKStyles.aspx"
                    DynamicStylesCaseSensitive="true"
                    DynamicStylesGeneratorFilter="controlpanel|filemanager|mainmenu|wizard"
                    StaticStylesFile="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKeditor/fckstyles.xml"
                    StylesDefaultMode="Static"
                    DynamicCSSGeneratorPath="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKCSS.aspx"
                    StaticCSSFile="~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKeditor/editor/css/fck_editorarea.css"
                    CSSDefaultMode="static"
                    spellCheck="ieSpell"
                    AvailableToolbarSkins="Office2003,Silver"
                    DefaultToolbarSkin="Office2003"
                    AvailableToolBarSets="DNNDefault,Default,NoGallery,Basic"
                    DefaultToolbarSet="DNNDefault"
                    DefaultImageGallerySkin="Default"
                    DefaultFlashGallerySkin="Default"
                    DefaultLinksGallerySkin="Default"
                    FCKDebugMode="false"
                    UseFCKSource="false"
                    OptionsOpenMode="ShowModalDialog"
                    CustomOptionsDialog="Admin" />
            </providers>
        </htmlEditor>

Enregistrez le tout. Et c'est fini.

Nota : Toutes ces instructions se trouvent dans le fichier install.txt (en anglais) du fichier téléchargé. vous pouvez donc faire un copier coller des lignes à inserer dans le Web.config, depuis le fichier install.txt ou depuis ce forum.

Anthony
 
Nouveau message
16/11/2006 17:13
 

Merci Anthony !

David.


"Qui ne connait pas l'Histoire ne connait rien".
 
Nouveau message
17/11/2006 13:43
 

Encore merci pour ton tutorial qui m'aura évité de lire le fichier install.txt !

Je me demande pourquoi je n’ai jamais installé cet éditeur qui est 1 million de fois plus pertinent que la FTB ! Je pense par exemple aux possibilités de collage plus fines, la possibilité d’éditer de vrai tableaux HTML et surtout j’ai été bluffé par les modèles !

David


"Qui ne connait pas l'Histoire ne connait rien".
 
Nouveau message
17/11/2006 13:54
 
Oui et celui la est intégralement traduit en FR, moins de bugs, une prévisualisation du formatage des images, un plus grand choix quant aux options. Bref que du mieux, pour 3 min d'install.

De plus cet editeur est plus répendu. De nombreuses solutions l'utilisent comme par exemple CPS.

Anthony
 
Nouveau message
22/12/2006 20:47
 

Et quid du nouveau module introduit par le Core Team DNN ?
==> http://www.dotnetnuke.com/DotNetNukeProjects/ProviderFCKeditor0153/tabid/934/Default.aspx

 

Déclic Vidéo FX

 
Précédente
 
Suivante
HomeHomeForums DNNForums DNNAnnoncesAnnoncesTUTO - Installer FCKEditor TUTO - Installer FCKEditor