Dream-weaving DEDECMS realizes the method that members log in or quit and jump to the home page directly.
This article is about Weaving Dream DEDECMS to achieve member login or exit directly jump to the home page of the content. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Dream DEDECMS how to achieve member login or exit directly jump to the home page?
Dream weaving DEDECMS member login or exit directly jump to the home page modification method
Recommended study: dream weaving cms
Default dede template. After logging in on the home page, the member will jump to the member center by default.
If we want to log in and jump to the home page of the website, we can modify the dede file like this:
1. Find the index_do.php file in the / member directory
2. search for the following sentence:
ShowMsg ("successfully logged in, 5 seconds later go to the system home page...", "index.php", 0Jing 2000)
To be replaced by:
ShowMsg ("successfully logged in, 5 seconds later go to the system home page.", "/", 0Jet 2000)
In addition: if dede members want to quit the dede system, they also return to the home page of the dede website.
You can search for the following sentence in the file:
ShowMsg ("logout successfully!" , "index.php", 0ju 2000)
To be replaced by:
ShowMsg ("logout successfully!" , "/", 00.2000)
In this way, dede members will not return to the dede member Center when logging in and exiting.
Thank you for reading! About Weaving Dream DEDECMS to achieve member login or exit directly jump to the home page to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.