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编辑器没被调用出来

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2021-12-14
  • 2021-09-09
  • 2021-11-07
  • 2022-12-23
  • 2021-09-19
猜你喜欢
  • 2021-07-11
  • 2022-12-23
  • 2022-02-12
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案