ECSHOP 商品编辑,详细描述 添加 FCKeditor编辑器
来源:互联网 发布:医药办公软件 编辑:程序博客网 时间:2024/06/05 06:01
alter table esc_goods add newfck text;
改动文件:4个
themes/default/goods.dwt
admin/templates/goods_info.htm
admin/includes/lib_main.php
admin/goods.php
lib_main.php 在function create_html_editor() 下添加下面部分
function create_html_editor2($input_name,$output_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($newfck, $FCKeditor);//这里输出就用$output_name变量了。
}
admin/goods.php 找到 create_html_editor('goods_desc', $goods['goods_desc']);
添加一个 create_html_editor2('newfck', $goods['newfck']);
themes/default/goods.dwt 找到 {$FCKeditor}
按照这个格式换成我们自己添加的{$newfck}
admin/goods.php 找 goods_desc 这个名称 把我们定义的 newfck 加上一份
- ECSHOP 商品编辑,详细描述 添加 FCKeditor编辑器
- ecshop商品详情页添加多个可在后台编辑的商品描述分类
- Ecshop如何把后台编辑器中商品详细描述中上传的图片分目录保存
- ecshop商品详细描述页,批量上传图片功能实现
- ECSHOP 给添加/编辑商品页面的菜单设置权限
- ecshop 批量添加商品
- ecshop如何增加多个产品详细描述的编辑器
- ecshop更换升级FCKeditor编辑器到Kindeditor,支持图片批量上传,和百度地图添加
- Fckeditor编辑器添加【行距】
- Ecshop模板开发(十三):商品详情页商品描述
- ecshop商品详细页显示已售商…
- ECshop 商品属性后台添加,前台显示
- ecshop二次开发 给商品添加自定义字段
- ecshop商品属性按照添加顺序排列
- ecshop优化14-商品属性显示在商品详细页
- sharepoint中添加FCKeditor编辑器
- ecshop编辑器fckeditor换百度ueditor编辑器教程
- ecshop在商品详情页添加商品出售数…
- iOS Core Animation 简明系列教程
- 学习AudioToolbox.framework之Converter Services
- HttpClient 教程 (三)
- HttpClient 教程 (四)
- android 手机听筒和扬声器切换 听筒没声音问题
- ECSHOP 商品编辑,详细描述 添加 FCKeditor编辑器
- hadoop学习---3.hadoop在ubuntu下的安装配置
- HttpClient 教程 (五)
- OpenGL ES 中如何实现在房间中查看屋内摆设的效果
- oracle数据库树形结构用法总结
- F5初识及基本配置
- 安定은 方하고 流動은 圓하다 安定과 流動
- vim中的wq和x
- 销售技巧