Home >php教程 >PHP开发 >phpcms v9.4.2

phpcms v9.4.2

WBOY
WBOYOriginal
2016-06-07 17:23:241251browse

关于百度富文本在线编辑器ueditor的强大功能,在这里并不想多说,如果还不了解的,自己百度一下吧。接下来我要做的就是把phpcms v9原有的编辑器ckeditor换成ueditor。

phpcms v9版本:phpcms v9.4.2utf8

ueditor:版本:ueditor1.2.6.1utf8-php

这里要说一下了,网上很多关于phpcms v9整合ueditor的评议文章,忽略了版本问题,导致了一些问题,如乱码,甚至无法整合,所以这里特别强调,整合前要注意版本的一致性。


1.从百度http://ueditor.baidu.com/website/处下载ueditor1.2.6.1utf8-php编辑器,从http://download.phpcms.cn/v9/9.4/下载phpcms v9.4.2utf8


2.把ueditor编辑器上传到phpcms默认的js文件路径,上传后的文件路径如下:

\statics\js\ueditor\


3.打开/phpcms/libs/classes/form.class.php,找到如下代码:

 if(!defined('EDITOR
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn