In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what problems dedecms do blog Taobao guest site will encounter, I believe 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!
What are the problems of dedecms doing blog Taobao guest site?
The first question:
When dedecms edits the content, the time is also updated to the latest (some friends do not want this, but want to keep the original release time of the content. Of course, when dedecms editors, the release time of the article is updated to the latest time by default, which is also considered according to the needs of most webmasters, and I am here for a small number of webmaster friends), many friends may associate this issue with someone for a long time, ah, indeed many friends have shared this problem. But it's all about editing the article (change "$nowtime = GetDateTimeMk (time ())" in line 464 of the root directory dede/templets/article__edit.htm file to "$nowtime = GetDateTimeMk ($arcRow [" pubdate "])).
Recommended study: dream weaving cms
What I want to say today is that most of my friends have not noticed the problem that the release time of your website photo collection image, software soft and merchandise shop are updated to the latest time by default when editing (at least I encountered it when I was doing baby.ag optimization .cn blog Taobao guest site).
The same reason: (the dede here is the default background directory name of the program. If there is any change, it depends on you.)
Use notepad to modify the root directory dede/templets/ folder under the album_edit.htm file (about 345 lines, can not find can consider using the search function, notepad has this feature), soft_edit.htm file (about 453 lines, risk is that the default editing software does not update time can not be changed) of the "$nowtime = GetDateTimeMk (time ())" to "$nowtime = GetDateTimeMk ($arcRow [" pubdate "])". (commodity)
The second question:
Dedecms watermark problem, here in order to avoid someone saying that I am verbose, ask the question directly. Many people have encountered the problem of uploading pictures without image watermarking in articles. There are solutions everywhere on the Internet (changed as follows), but what A Guang is going to talk about today is the problem that photo albums uploading pictures cannot increase picture watermarks when there is no problem with the background settings of the website program (in fact, the change method is the same). Impersonating dedecms5.7 is also the same problem) and the solution to whether the watermark setting of the image is invalid:
The solution to the problem of adding watermark to image and picture set:
1. System-> system basic parameters-> attachment Settings-> whether the atlas uses watermarks (small images will also be affected): yes
2. System-> Image watermark setting / / as required, you can set it.
Open dede\ swfupload.php and find
/ / WaterImg ($cfg_basedir.$fileurl, 'up')
Remove the / / in front of this sentence, you can! And then re-upload the picture.
Invalid setting of watermarking for dedecms5.7 images and its solution:
Open the file "/ include/helper/image.helper.php" under the root directory of the DeDeCMS installation and find the following code snippet:
If (isset ($GLOBALS ['needwatermark'])) {$photo_markup = $photo_markdown = empty ($GLOBALS [' needwatermark'])? '0percent:' 1percent;}
Modified to:
If (isset ($GLOBALS ['needwatermark'])) {$photo_markup=$photo_markdown= empty ($GLOBALS [' needwatermark'])?'0': '1percent;} else {$photo_markup=$photo_markdown='0';}
The third question:
Articles, merchandise and other content pages call thumbnails. This question was raised by my wife, and now you can see that there is already a picture at the top of "I want to buy" at the top on the right side of my blog Taobao content page. If there are no pictures in it, then you want to recommend what products visitors do not know, such Taobao is doomed to failure. This was put forward by my wife, so I think it's very good. The content of the article does not insert product advertising, virtually close to the distance of visitors, so that advertising invisible this is the highest state of Taobao guests at this stage, it is said to improve the conversion rate, ha ha temporarily do not know, oh, trial run for a period of time, I believe there will be results.
The fourth question:
Baby album content page (single album page) when browsing photos: mouse over the picture does not display the previous arrow symbol in the IE8.
Since this photo album template is used to copy the template from another site intact, it is normal on another site, but it feels strange to be abnormal on this site. I had a big head yesterday afternoon. I don't know. I went home. The reason I found out later was that I used a different path to call these two icons with cursor: url in CSS. My other website is cursor: url (/ templets/image/arr_left.cur). While my blog uses cursor: url (.. / image/arr_left.cur), it can't be displayed properly, but it's normal in Google chrome. Later, a check on the Internet turned out to be under IE8 cursor: url does not support a higher level of directory form of the relative path (such as.. / image/1.jpg), the blog picture arr_left.cur and arr_right_cur call to the absolute path on the OK, that is, my blog is now cursor: url (/ statics/image/arr_left.cur) call through my blog image content side to view normal.
Fifth question:
Imitating the special effects at the top and bottom of the QQ Music website, many websites have released codes, but for novice-level people, the introduction of the program is not very clear, so I will talk about it here. I hope I can help the newcomers who may encounter in the back, and the specific code is given the download address at the bottom of my blog.
Next, let me talk specifically about the problems that must be paid attention to in order to achieve results in the process of use:
You must add a maximum box for all the content of the website body, and then add it in front of the largest DIV box, after the largest DIV box, and other code can be placed at will. Below, I'll give you the specific placement (external calls to the CSS code, which are not listed here if there is an attachment. The purpose of adding a "" is to concurrently operate IE6):
All the contents of the website are all the problems that dedecms will encounter in the blog Taobao guest site, thank you for your 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.
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.