标题 | 帝国下载系统集成FCKeditor编辑器方法 |
范文 | 帝国下载系统除了自带的编辑器外还可以添加其他编辑器,本文教你如何把FCKeditor编辑器添加到帝国下载系统中。方法如下: 1、下载FCKeditor放在网站根目录; 2、找到admin/AddSoft.php第80行,将 $softsay=htmlspecialchars($r[softsay]); 改成 $softsay=$r[softsay]; 3、找到data/form/1.php第224行,将 <textarea name="softsay" cols="67" rows="12"><?=$softsay?></textarea> 改成 <?=$oFCKeditor->Create();?> 4、在顶部?>前增加 include("../FCKeditor/fckeditor.php") ; //FCKeditor 包含文件 $oFCKeditor = new FCKeditor('softsay') ; $oFCKeditor->BasePath = "../FCKeditor/" ; $oFCKeditor->Value = "$softsay"; 5、完成。 |
随便看 |
|
在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。