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