ECShop_V2.7.3_UTF8_完美兼容_$_模式下载

weixin_39821228 2019-09-19 02:01:22
Ecshop与Jquery冲突的完美解决方案
ECShop把AJAX事件和JSON解析的模块放在common/transport.js之中,可以说它也有自己封装的一套工具,这其实是很正常的。
但恰恰的,在封装JSON各种方法的同时对object的模型进行了重写,这个就跟jQuery冲突了。因为众所周知的,jQuery对各种JavaScript对象进行了扩展。
在这里我已经把里面的冲突文件调好了, 所以提供给大家下载, 大家下载下来之后可以去直接安装使用, 并且不会包有关jQuery冲突方面的问题
/**/习惯用$符合定义的jquery文件的朋友建议下载此文件

更多问题请联系博主!
相关下载链接://download.csdn.net/download/libinemail/9394903?utm_source=bbsseo
...全文
8 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
ecshop更换百度ueditor插件相关信息如下: ecshop版本:ecshop2.7.3 编码格式:UTF-8 ueditor版本:1.4.3 1、打开admin/includes/lib_main.php文件 (1)找到:(大约在306-323行左右) /** * 生成编辑器 * @param string input_name 输入框名称 * @param string input_value 输入框值 */ 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); } 将这段代码修改为: /** * 生成编辑器 * @param string input_name 输入框名称 * @param string input_value 输入框值 */ 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); } 将这段代码修改为: /** * 生成编辑器 * @param string input_name 输入框名称 * @param string input_value 输入框值 */ function create_html_editor($input_name, $input_value = '') { global $smarty; $kindeditor=" <script id='editor' name='$input_name' type='text/plain' style='width:100%;height:500px;'>$input_value</script> <script type='text/javascript' charset='utf-8' src='../includes/ueditor/ueditor.config.js'></script> <script type='text/javascript' charset='utf-8' src='../includes/ueditor/ueditor.all.min.js'> </script> <script type='text/javascript' charset='utf-8' src='../includes/ueditor/lang/zh-cn/zh-cn.js'></script> <script> var ue = UE.getEditor('editor'); UE.getEditor('editor').focus(); </script> "; $smarty->assign('FCKeditor', $k

12,806

社区成员

发帖
与我相关
我的任务
社区描述
CSDN 下载资源悬赏专区
其他 技术论坛(原bbs)
社区管理员
  • 下载资源悬赏专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧