In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
ECSHOP installation Baidu editing UEditor method? This problem may be our daily study or work often see. I hope you learned something from this question. The following is the reference content brought to you by Xiaobian. Let's take a look together!
ECSHOP system comes with the editor we all know, difficult to use not to say, can not upload pictures in batches. Many friends like Baidu editor, because Baidu editor powerful, easy to use, and will not generate too much redundant code.
There are many ECSHOP integration Baidu editor tutorials on the Internet, but most of them have some problems.
First look at the renderings:
Start the tutorial:
Step 1:
First go to Baidu editor official website to download the latest version, rename the folder "ueditor", upload to/includes/directory
(You can also download the finished ueditor version 1.4.3 at the bottom of this tutorial)
Step 2:
Open these two files, one for merchandise editing and one for article editing.
/admin/templates/goods_info.htm/admin/templates/article_info.htm
Find:
{$FCKeditor}
Amend to read:
.clear {clear: both;} {$goods.goods_desc}delete(Object.prototype.toJSONString);UE.getEditor('goods_desc')
Both documents were modified in this way.
Notice this line of code:
{$goods.goods_desc}
Width and height refer to the size of the editor respectively, but IE kernel browsers may not support writing px, so the size of the editor may be somewhat imperfect, this is related to CSS, this can be solved by itself.
At this time, in fact, ECSHOP background editor can already be used normally, just enter the product list, classification, etc., will report the error, prompt the lack of Ajax:
The solution is provided below
Step 3: Resolve background JS conflicts
The requested URL/templates/pageheader.htm was not found on this server.
Find in the head:
{insert_scripts files="../ js/transport.js,common.js,../ js/utils.js"}
Amend to read:
{insert_scripts files="../ js/utils.js"}
That'll do.
Note that do not forget the JQ file referenced.
Thank you for reading! After reading the above, do you know about the ECSHOP installation Baidu editing UEditor method? I hope the content of this article is helpful to everyone. If you want to know more about related articles, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.