帝国CMS增加FCKeditor编辑器的方法

下载 FCKeditor 放在网站根目录

admin/AddSoft.php第80行$softsay=htmlspecialchars($r[softsay]); 改成 $softsay=$r[softsay];

data/form/1.php第224行<textarea name="softsay" cols="67" rows="12" style="WIDTH:100%"><?=$softsay?></textarea> 改成 <?=$oFCKeditor->Create();?>

在顶部?>前增加include("../FCKeditor/fckeditor.php") ; //FCKeditor 包含文件$oFCKeditor = new FCKeditor('softsay') ;$oFCKeditor->BasePath = "../FCKeditor/" ;$oFCKeditor->Value = "$softsay";

喜欢就该珍惜,珍惜就别放弃。

帝国CMS增加FCKeditor编辑器的方法

相关文章:

你感兴趣的文章:

标签云: