在zencart添加FCKeditor

1.首先到官方网站下载 FCKeditor ,解压后上传到 Zen Cart 安装目录下的 editors/fckeditor/

文件夹中。

2. 打开 Zen Cart 安装目录下的 editors/fckeditor/_samples/default.html ,选择 PHP 的

sample 测试 FCKeditor能否正常提交。

3. 确定 Zen Cart 安装目录下的 editors/fckeditor/fckconfig.js 文件中

var _FileBrowserLanguage = ‘php’ ;
var _QuickUploadLanguage = ‘php’ ;

4. 打开 Zen Cart 安装目录下

editors/fckeditor/editor/filemanger/connectors/php/config.php,
修改 $Config['Enabled'] 值为 true。

5. 打开 Zen Cart 安装目录下

editors/fckeditor/editor/filemanger/connectors/php/config.php,
设置附加的上传目录,
例如:
$Config['UserFilesPath'] = ‘/up/’ ;

6. 把 Zen Cart 安装目录下的 admin/includes/init_includes/init_html_editor.php 中的
// $editors_list['FCKEDITOR'] = array(’desc’ => EDITOR_FCKEDITOR, ‘handler’ =>

‘fckeditor.php’, ’special_needs’ => ”);
这句的注释去掉,即删掉前面的“//”。

到此FCKeditor已安装完成。

安装是安装好了,但是,我们得在zencart中把它调出来,否则就白搭了。
调用fckeditor的过程如下:
工具--》页面编辑
然后在“文本编辑器”中选中"FCKeditor"就可以了

最初以为是在“商店设置”-》“基本设置”-》HTML编辑器
结果在这里选了FCKeditor,然后去添加产品,发现在fckeditor编辑器没被调用出来

转自:http://www.67186.com/archives/zencart-fckeditor.html

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值