代码改变世界

FCKeditor_2.6.3的安装使用方法

2008-10-25 16:17  每天看看  阅读(1806)  评论(0编辑  收藏  举报

FCKeditor_2.6.3的安装使用方法

1.到http://www.fckeditor.net/download下载FCKeditor 2.6.3和FCKeditor.Net

2.在自己的项目引用FCKeditor.Net文件夹内的FredCK.FCKeditorV2.dll文件

3.复制FCKeditor 2.6.3文件夹内的fckeditor文件夹的所有文件到项目的根目录下

4.在工具箱面板右击选择项添加FredCK.FCKeditorV2.dll文件,这样就可以在工具箱上把FCKeditor控件拖到我们要使用的页面。

5.设置web.config配置文件

<appSettings>
    <add key="FCKeditor:BasePath" value="~/FCKeditor/"/>
    <!--FCKeditor基本文件目录-->
    <add key="FCKeditor:UserFilesPath" value="~/UserFiles/"/>
    <!--文件上传目录-->
  </appSettings>

6.设置fckeditor\fckconfig.js文件

var _FileBrowserLanguage = 'aspx' ;
var _QuickUploadLanguage = 'aspx' ;

7.设置config.ascx

fckeditor\editor\filemanager\connectors\aspx\config.ascx的

private bool CheckAuthentication()方法return true

现在就运行程序了

相关连接:

使用FCKeditor_2.6.3版本有关上传图片问题解决

FCKeditor使用与配置说明

asp.net下的fckeditor配置及优化

FCKEditor使用主题皮肤,导致上传图片功能出现问题