- 2009 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12
2006-02-06
FCKEditor - WYSIWYG な HTML 編集ライブラリ
- Summary
- イメージマネージャを利用する
fckconfig.js を編集
editor/filemanager/browser/default/connectors/php/config.php を編集
- FCKEditorクラスのメソッド
- FCKEditorクラスのプロパティ
- Reference
FCKeditor - The text editor for Internet
http://www.fckeditor.net/
- via
Writing/kiwameru_php_vol.1/wysiwyg-editor - よくきた wiki
http://wiki.poyo.jp/read/Writing/kiwameru_php_vol.1/wysiwyg-editor
cl.pocari.org - PHP で WYSIWYG な編集ライブラリ FCKEditor
http://cl.pocari.org/2006-01-23-2.html
<?php include "fckeditor.php"; $fckObject = new FCKeditor( "edit_name") ; $fckObject->BasePath = "./"; $fckEditorHtml = $fckObject->CreateHtml(); ?> <form method="post"> <?= $fckEditorHtml ?> <input type="submit" value="send" /> </form> <?= $_REQUEST['edit_name'] ?>
- イメージマネージャを利用する
fckconfig.js を編集
// var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py // var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
editor/filemanager/browser/default/connectors/php/config.php を編集
// SECURITY: You must explicitelly enable this "connector". (Set it to "true"). // $Config['Enabled'] = false; $Config['Enabled'] = true; // Path to user files relative to the document root. // $Config['UserFilesPath'] = '/UserFiles/' ; $Config['UserFilesPath'] = '/FCKeditor/UserFiles/' ;
% mkdir /var/www/FCKeditor/UserFiles
- XOOPSに組み込む
FCKeditor - xoopsに組み込む
http://www.geocities.jp/fckeditor/xoops.html
- FCKEditorクラスのメソッド
| メソッド名 | 用途 |
| FCKeditor | コンストラクタ |
| Create | FCKEditorを実行するHTMLを出力する |
| CreateHtml | FCKEditorを実行するHTMLを返す |
| IsCompatible | FCKEditorが使用できるかどうか調べる |
| GetConfigFieldString | ConfigプロパティをFCKEditorに渡すパラメータ文字列に変換する(private的関数) |
- FCKEditorクラスのプロパティ
| プロパティ名 | 用途 |
| $InstanceName | インスタンスするフォーム要素名を指定する |
| $BasicPath | FCKEditor本体のURLパスを指定する |
| $Width | 表示するFCKEditorの幅をピクセル単位で指定する |
| $Height | 表示するFCKEditorの高さをピクセル単位で指定する |
| $ToolbarSet | 使用するツールバーの種類を指定する.デフォルトでは「default」と「Basic」がある |
| $Value | FCKEditorのデフォルト文字列 |
| $Config | その他のFCKEditorの設定を配列で指定 |
- Reference
FCKeditor - The text editor for Internet
http://www.fckeditor.net/
- via
Writing/kiwameru_php_vol.1/wysiwyg-editor - よくきた wiki
http://wiki.poyo.jp/read/Writing/kiwameru_php_vol.1/wysiwyg-editor
cl.pocari.org - PHP で WYSIWYG な編集ライブラリ FCKEditor
http://cl.pocari.org/2006-01-23-2.html
カテゴリ: [PHP][JavaScript]
[ 固定リンク ]
- 2009 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12
2006-02 /