In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Dream weaving dede to remove the background landing interface advertising method? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Look at the advertisement of weaving dream landing interface. How annoying it is.
The figure indicates the advertisement to be deleted
Modify method:
First find the background file: you should know the exact location of login.htm. It is in the dede\ templets directory under the root directory of the website.
Open it with Dreamweaver or other text editor. Find a code that is:
The code is as follows:
This code is for the ad space at the bottom of the control chart. We delete it.
Powered byDedeCMS ©2004-2011 DesDev Inc.
This code is the copyright information at the bottom of the control chart, and we also delete it.
When this step is done, when we open the login screen again, it will take effect immediately, and the ad space and copyright information will disappear, but this is not complete, because the ad file and some parameters still exist. Next, let's delete the parameters of the calling advertisement. As shown in the figure:
Through the selected code, we can find the calling parameter storage file, which is in the dede/login.php file. Also open it with the editor and find the following code (usually on lines 39-48):
The code is as follows:
/ / Update server require_once (DEDEDATA.'/admin/config_update.php'); if ($dopost=='showad') {include ('templets/login_ad.htm'); exit;} / / detect whether the background directory is renamed
Delete the above code to solve the problem of deleting ads in the login interface, and find the complete directory of this file in dede/templets/login_ad.htm, find it and delete it.
If you use dream weaving and do not want to see the landing interface ads, you can delete these code files and solve the problem.
Through the selected code, we can find the calling parameter storage file, which is in the dede/login.php file. Also open it with the editor and find the following code (usually on lines 39-48):
The code is as follows:
/ / Update server require_once (DEDEDATA.'/admin/config_update.php'); if ($dopost=='showad') {include ('templets/login_ad.htm'); exit;} / / detect whether the background directory is renamed
Delete the above code to solve the problem of deleting ads in the login interface, and find the complete directory of this file in dede/templets/login_ad.htm, find it and delete it.
If you use dream weaving and do not want to see the landing interface ads, you can delete these code files and solve the problem.
Thank you for reading! After reading the above, do you have a general understanding of the method of weaving dream dede to remove the backstage landing interface advertisement? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are 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.
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.