In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to solve the problem that Weaving Dream DEDE has updated the advertisement in the background but has not changed in the foreground. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
What if Weaving Dream DEDE updates the ads in the background but does not change the front desk?
Solutions for beginners:
If you modify the ad code, and then we find the management on the right, there are 3 options below management, [JS] [change] [delete], these three, then we just need to click JS, here is to preview the JS ad, and then we will go back to the front desk to see if the advertisement has changed automatically?
A complete solution:
In addition, every time we have to preview, we need to make the following changes to the advertising module, the following is published by friends in the forum can refer to the method to solve.
After installing the advertisement module included in DedeCms, it is found that after modifying the advertisement information, the advertisement called by the frontend is still the same as before. After looking at the source code, it is found that the cache is called, but the ad_edit.php editor of DedeCMS does not delete the original cache after saving the information. The modification here is as follows:
Open the file dede/ad_edit.php and find the following code:
$dsql- > ExecuteNoneQuery ($query); ShowMsg ("successfully changed an ad code!" , $ENV_GOBACK_URL)
Modify to the following code:
$dsql- > ExecuteNoneQuery ($query); / / Delete the ad cache file begin// dedecms V57_GBK 2011-08-12if (file_exists (DEDEDATA. "/ cache/myad-$aid.htm")) {@ unlink (DEDEDATA. "/ cache/myad-$aid.htm");} / delete the ad cache file endShowMsg ("change an ad code successfully!" , $ENV_GOBACK_URL); on how to solve the problem of Weaving Dream DEDE updated ads in the background but no change in the foreground is shared here. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
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.