Sugi@ぱぱんぶぃびぃ Blog

VBとかVB.NETとかVB2005とか・・・

AILight Banner
AILight Blog

プロフィール

Sugi@ぱぱんぶぃびぃ Blog

目次

Blog 利用状況

記事分類

過去の記事

タグ

DNN: HTMLエディタをFCKEditorに変更する方法

FCKEditor Providerをダウンロード(ユーザー登録が必要)

ダウンロードしたZIPファイル内のBinフォルダ内にある、Delisoft.DSFCK2EdittorProvider.dllとFredCK.FCKeditorV2.dllを
DotNetNukeのBinフォルダ内に解凍します。

Web.configのhtmlEditorセクションを以下の内容に置き換えます。
<htmlEditor defaultProvider="DSFck2HtmlEditorProvider">
  <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="DSFck2HtmlEditorProvider"
    type="Delisoft.DNN.Providers.HTMLEditor.FCK2HtmlEditor, Delisoft.DSFCK2EditorProvider"
    providerPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/"
    CustomConfigurationPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/custom/FCKConfig.js"
    EnhancedSecurityDefault="false"
    SecureConfigurationPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/custom/FCKConfigSecure.js"
    ImageGalleryPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/fckimagegallery.aspx"
    ImageUploadPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/fckimagegallery.aspx"
    ImageAllowedFileTypes="gif,png,bmp,jpg"
    FlashGalleryPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/fckimagegallery.aspx"
    FlashUploadPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/fckimagegallery.aspx"
    FlashAllowedFileTypes="fla,swf"
    LinksGalleryPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/fcklinkgallery.aspx"
    DynamicStylesGeneratorPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKStyles.aspx"
    DynamicStylesCaseSensitive="true"
    DynamicStylesGeneratorFilter="controlpanel|filemanager|mainmenu|wizard"
    StaticStylesFile="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/FCK2/fckstyles.xml"
    StylesDefaultMode="Static"
    DynamicCSSGeneratorPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKCSS.aspx"
    StaticCSSFile="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/FCK2/editor/css/fck_editorarea.css"
    CSSDefaultMode="static"
    spellCheck="ieSpell"
    AvailableToolbarSkins="Office2003,Silver"
    DefaultToolbarSkin="Office2003"
    AvailableToolBarSets="DNNDefault,NoGallery,Basic"
    DefaultToolbarSet="DNNDefault"
    DefaultImageGallerySkin="Default"
    DefaultFlashGallerySkin="Default"
    DefaultLinksGallerySkin="Default"
    DSFCKDebugMode="false"
    UseFCKSource="false" />
  </providers>
</htmlEditor>

以上で、完了!


(FCKEditor Provider を組み込んだDNNでText/HTMLモジュールの編集している図)

投稿日時 : 2006年6月10日 1:30


コメントを追加

タイトル
名前
URL
コメント