Develop and Download Open Source Software

View 2.1 - Release Notes

category(Tag) tree

file info

category(Tag)
root
file name
MT-Plugin-FCKeditor-1.2_Custom_Kit_2.1_-_Notes
last update
2008-04-22 21:57
type
Plain Text
editor
GAMO,Toshihiro
description
2.1 - Release Notes
language
English
translate
MT-Plugin-FCKeditor-1.2用カスタムキット Ver.2.1

製作者:Dakiny
製作日:2008年4月10日


◆はじめに

このカスタムキットはMT-Plugin-FCKeditor-1.2のボタンパネルをカスタマイズしたもので、MT-Plugin-FCKeditor-1.の本来の機能に下記の機能がプラスされます。

1. テーブルの挿入/編集
2. 横罫線の挿入
3. 上付文字
4. 下付文字
5. 特殊文字の挿入
6. フォーマット
7. 書体指定
8. 書体サイズ
9. プレーンテキストの貼付
10. ワード文章からの貼付
11. ブロック表示の追加
12. 印刷の追加

◆Ver.2からの新機能

Movable Type 4.1の画像管理機能を使わず、イメージ挿入から、filemanagerが利用できるよう仕様変更しました。

Movable Type 4.1の画像管理機能が好みの方は以前公開したカスタマイズキットをお使いください。

以前のバージョンは下記よりダウンロードできます。
http://www.dakiny.com/FCKedito_Custom_kit.zip

また、このキットはconfig.phpのパスの書換が必要となります。さほど難しいものではありませんが、
absolute pathの意味がわからない方には設定ができませんから、お勧めできません。

動かない場合の9割が正しいパスが書かれてない場合です。

多忙につき、質問に答えている時間もありませので、設定の用意なMT-Plugin-FCKeditor-1.2用カスタムキット Ver1.01をお使いください。

以前のバージョンは下記よりダウンロードできます。
http://www.dakiny.com/FCKedito_Custom_kit.zip

◆動作環境

MT-Plugin-FCKeditor-1.2のインストールされたMovable Type 4.1で動作します。MT-Plugin-FCKeditorのバージョンが異なった場合は動作の保証はありません。

◆インストール前の設定

以下のファイルを探し

/mt-static/plugins/FCKeditor/fckeditor/editor/filemanager/connectors/php/config.php

34行目:http://www.hoge.com/files/
40行目:/virtual/hoge/public_html/www.hoge.com/files/

上記のパスをご自身のファイル保存ディレクトリの環境に書き換えてください。

以下は僕の例

    // Path to user files relative to the document root.
    $Config['UserFilesPath'] = 'http://www.dakiny.com/archives/' ;

    // Fill the following value it you prefer to specify the absolute path for the
    // user files directory. Usefull if you are using a virtual directory, symbolic
    // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
    // Attention: The above 'UserFilesPath' must point to the same directory.
    $Config['UserFilesAbsolutePath'] = '/virtual/dakiny/public_html/www.dakiny.com/archives/' ;

設定が完了したら保存します。

◆インストール方法

予めMT-Plugin-FCKeditor-1.2をインストールした上で、mt-staticを上書きしてください。

それだけです。

MT-Plugin-FCKeditorの入手方法、インストール方法については下記をお読みください。
http://www.dakiny.com/archives/movable-type/movable_type_4_movable_type_41rc1fckeditor/

◆使い方

下記(英語)をお読みください。残念ながら日本語のガイドはありませんが、
ワードのように使えますので、いろいろ試しているうちに覚えられると思います。

Users Guide - FCKeditor Docs
http://docs.fckeditor.net/FCKeditor_2.x/Users_Guide

◆カスタマイズ方法

カスタマイズ方法
http://www.dakiny.com/archives/movable-type/movable_type_4_movable_type_41rc1fckeditor/

◆テンプレートのカスタマイズ方法

○ソースコード

/mt-static/plugins/FCKeditor/fckeditor/fcktemplates.xml
を修正してください。

○画像

下記ディレクトリに追加してください。
/mt-static/plugins/FCKeditor/fckeditor/editor/dialog/fck_template/images

以上の簡単な作業で入力は簡単になります。

テンプレートでは日本語をそのまま入力しますと文字化けします。

日本語を数値実体参照で指定して記述する方法をご利用ください。

数値実体参照の変換は下記等を利用すればよろしいでしょう。

文字列 → 数値実体参照変換
http://yasu.asuka.net/orkut/conv.html

Unicode Number Entity Reference Converter
http://ideas.paunix.org/utfrefcon.htm

テンプレートのカスタマイズについての詳細は下記URLをご覧ください。
http://www.dakiny.com/archives/movable-type/movable_type_41mtpluginfckeditorver21/
SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.