#1 霍长箭
1.项目将fckeditor文件解压到SpeedAMP\htdocs\所在目录下2.在控制器文件中的配置是这样的:
import(APP_PATH.'/fckeditor/fckeditor.php');
$oFCKeditor = new FCKeditor('content');
$oFCKeditor->BasePath= '/fckeditor/fckeditor/';
$oFCKeditor->Height = "500";
$oFCKeditor->Value = '';
$this->editor = $oFCKeditor->CreateHtml() ;
$this->id=$id;
$this->display('post_add.html');
3.在post_add.html文件中是这样使用editor的:
正文:<{$editor}>
问题是:
2012-01-09 17:12:42