FCKeditorを入れればMT4の入力画面はよりリッチテキストエディタになる。MT4.1にFCKeditor2.6日本語版のプラグインを設定する方法は以下のとおり。テキストエディタとFTPが使えれば作業は意外に簡単だ。
1.FCKeditor本体を準備(Movable Type.org > Plugin Directory > FCKeditorよりダウンロード)
2.FCKeditor日本語カスタマイズ版を準備(いくつか似た名称があるので間違えずFCKeditor_2.6_ja.zipをダウンロードすること)
3.mt-config.cgiを修正(mt-config.cgiにRichTextEditor FCKeditorを追加)
▼以下はmt-config.cgiのサンプルです。
# The CGIPath is the URL to your Movable Type directory
CGIPath /blog/ →MTOSを入れたフォルダ
# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it is not,
# simply remove it or comment out the line by prepending a "#".
StaticWebPath /blog/mt-static →mt-staticを入れたフォルダ
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### SQLITE #####
ObjectDriver DBI::sqlite
Database ./mydb/mymtdb.db →自分のSQliteのDBフォルダ
DBUmask 0022
HTMLUmask 0022
UploadUmask 0022
DirUmask 0022
AltTemplate feed results_feed.tmpl
DeleteFilesAtRebuild 1
#======== RichTextEditor ==========
RichTextEditor FCKeditor →FCKeditoeを使うためにはこの行が必要
(mt-config.cgiサンプルはここまで)
4.アップロードするフォルダを用意しFTPでアップする
※このときに階層を間違わないように注意。意外にここで戸惑う例が多いようだ。(階層は画像参照) 
FTPでアップロードするフォルダは2箇所に分けることになる。左の図の例で説明する。
まず、FCKeditorインストール用というのはMTが入っているフォルダである。(mt-config.cgiが置いてあるフォルダになる)
ここをcgi-binフォルダの中に設定する場合と、cgi-binフォルダではないフォルダに設定する場合がある。
ここではFCKeditorインストール用フォルダは「blog」というフォルダにしたと設定する。
この場合は入れるフォルダはblogフォルダ内の「plugin」と「mt-static」の2つに分けることになる。
詳しい説明は「世界中の1%の人々へ」のFCKeditor 2.6 日本語版(MT4.1/MTOS4.1)を参照してください。
▼FCKeditorのインストール方法
MT4.1でFCKeditorを使えば、Web制作者もWeb管理者も幸せになれる
▼FCKeditorを日本語版にカスタマイズする方法
AjaxなWYSIWYGエディタ、FCKeditor 2.6 日本語版をリリースしたよ
MT+FCKeditor日本語版でMTはもっと便利になる。
▼FCKeditor日本語版を入れたMT4.1の投稿画面
![]()
|
