Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of changing DedeCMS Editor fck to eWebEditor Editor

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to change the DedeCMS editor fck to eWebEditor editor, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

How to change the DedeCMS editor fck to the eWebEditor editor?

The effect of inserting an eWebEditor editor into the DEDE background:

Full Word online editing function, so that you can get rid of the fat editor card and enter a new era of smooth and clean editing interface.

Here are the specific steps:

First of all, you need to know what a tool eWebEditor is.

EWebEditor is an online text editing tool developed by a domestic software company.

It has been integrated by several CMS systems.

EWebEditor is an open source online text editor

Its latest paid version is eWebEditor V6.2, and the latest free version is eWebEditor V4.6, which is equivalent to the original paid version V4.6.

Step one:

First download the latest free version of eWebEditor

It's called eWebEditor V4.6 Lite.

But in fact, there is no defect in the function, just like the paid version V4.6.

The address is http://www.ewebeditor.net/download.asp.

Step 2:

Extract the downloaded eWebEditor V4.6 Lite compressed file

You will get 7 folders and 3 files

Just put the ewebeditor.htm file in it:

Config.ServerExt = "asp"

This code

Modified to:

Config.ServerExt = "php"

This allows the eWebEdito editor to be used on PHP systems (you can see that this editor is highly compatible).

Upload all the above folders and files to the directory:

Your eWebEditor folder name is best to make up your own folder name, do not use the name eWebEditor, so that others can not find your eWebEditor editor to improve the security of the site.

Step 3:

Modify the background HTM file of Zhimeng DEDECMS, insert eWebEditor into it, and replace the original FCK text editor.

For example, you want to replace the FCK text editor that adds document pages.

Locate the / dede/templets/article_add.htm file.

Modify the following code snippet in the article_add.htm file:

The code is as follows:

Comment out this code first, and the effect is as follows:

The code is as follows:

Then the comment is inserted in front of it, and the effect is as follows:

The code is as follows:

This completes the modification of the article_add.htm file.

Note: the iframe code must be inserted in front of the commented code, otherwise the ewebeditor editor will not be able to support the table containing it and the display is incomplete.

Step 4:

Upload the modified article_add.htm to replace the original file, so that you refresh the background add document page, and a new editor appears.

Note: other pages that use text editors can be replaced with the above method.

I hope everyone will enter the new information era and bid farewell to the FCK editor. Cherish life and stay away from FCK.

The following is a screenshot of successfully publishing an article in the DEDECMS background using the ewebeditor editor:

The above is all the contents of the method of changing DedeCMS editor fck to eWebEditor editor. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report