ecshop FCK编辑器换kindeditor编辑器

下载最新版的kindeditor解压到include命名为kindeditor
文件:admin/includes/lib_找到

function create_html_editor($input_name, $input_value = )
{
global $smarty;

$editor = new FCKeditor($input_name);
$editor->BasePath = ../includes/fckeditor/;
$editor->ToolbarSet = Normal;
$editor->Width = 100%;
$editor->Height = 320;
$editor->Value = $input_value;
$FCKeditor = $editor->CreateHtml();
$smarty->assign(FCKeditor, $FCKeditor);
}

ecshop FCK编辑器换kindeditor编辑器
换成

function create_html_editor($input_name, $input_value = )
{
global $smarty;

$kindeditor="

id="$input_name" name="$input_name" style=width:700px;height:300px;>$input_value
提交" />
";
$smarty->assign(FCKeditor, $kindeditor);
}

然后修改kindeditro/php/上传目录修改includes/kindeditor/php/upload_如下:浏览服务器路径修改includes/kindeditor/php/file_manager_如下:
//文件保存目录路径
$save_path = $php_path . ../../../images/upload/;
//文件保存目录URL
$save_url = $php_url . ../../../images/upload/;

//根目录路径,可以指定绝对路径,比如 /var/www/attached/
$root_path = $php_path . ../../../images/upload/;
//根目录URL,可以指定绝对路径,比如
$root_url = $php_url . ../../../images/upload/;