Home >CMS Tutorial >DEDECMS >How to modify Dedecms prompt information method in dedecms

How to modify Dedecms prompt information method in dedecms

藏色散人
藏色散人Original
2020-01-04 09:05:142374browse

How to modify Dedecms prompt information method in dedecms

##dedecmsHow to modify the Dedecms prompt information?

dedecmsHow to modify the Dedecms prompt information

Recommended study:

梦伟cms

DEDECMS is loved by many webmaster friends. However, as a product, it is necessary to protect its copyright. It is inevitable that there will be some copyright information and product words in the cms. The most typical one is the jump prompt information "Dedecms prompt information" of DEDECMS. So how to change this word to the name of your own website? Woolen cloth?

In fact, it is very simple. In version 5.1, the modified file is: find inc_functions.php in the include folder. But starting from version 5.3, Dreamweaver has changed the system structure, causing many files to be adjusted. A smart webmaster can do it without using a search engine, such as using text search software. The author used the "Character Batch Tool" to find this file: include/common.func.php (include is the directory where core files exist in many cms). After finding this file, it will be much easier to modify it. (File location: Find common.func.php in the include folder)

Open the common.func.php file with Notepad, ctrl f to search: Dedecms prompt information, after finding it (there are two places), modify Just go for what you want. However, in order to support the developers of Dreamweaver, everyone should try to retain some copyright information. It does not necessarily have to be retained on the entire site. You can leave a link to dedecms on the homepage like my site did!

A special note here is one of the Dedecms prompts! There is a space in the middle. If you can't find it during search, just search for "prompt message" and you will find it. I didn't find this at first, I only found one place. After modifying it, when I log in, it still displays "Dedecms prompt message!" After taking a closer look, I solved the problem. I write this problem down here, hoping it will be helpful to everyone. This method is applicable to versions 5.6 and 5.7.

The above is the detailed content of How to modify Dedecms prompt information method in dedecms. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn