dedecmsWhat are the problems in building a Taobao blog site?
The first question:
The time is also updated to the latest when dedecms edits content (some friends don’t want this, and hope to keep the content as originally published time. Of course, when dedecms is editing, the article publishing time is updated to the latest time by default. This is also considered based on the needs of most webmasters, and I am talking about a small number of webmaster friends here). Many friends may immediately think of this problem. Someone has mentioned it before, indeed many friends have shared this issue. But they are all talking about article editing (change "$nowtime = GetDateTimeMk(time())" in the root directory dede/templets/article__edit.htm file around line 464 to "$nowtime = GetDateTimeMk($arcRow[" pubdate"])")
Recommended study: 梦Weavercms
What I want to talk about today is your website picture collection image, software software, which most friends have not noticed. The release time of the product shop is also updated to the latest time by default when editing (at least I encountered this problem when I was working on baby.ag optimization.cn, a blog-type Taobao customer site).
The same principle: (dede here is the default backend directory name of the program, if it is changed, it depends on your changes)
Use Notepad to modify the root directory dede/templets/ folder The album_edit.htm file (about 345 lines, if you can’t find it, you can consider using the search function to find it. Notepad has this function), soft_edit.htm file (about 453 lines, I assume this defaults to the editing software and does not update the time. You don’t need to change it. ) of "$nowtime = GetDateTimeMk(time())" is "$nowtime = GetDateTimeMk($arcRow["pubdate"])". (Commodity)
Second question:
dedecms watermark problem. In order to save someone from saying I’m verbose, let me ask the question directly. Many people have encountered it. In the article, there are solutions to the problem of uploading pictures without adding picture watermarks everywhere on the Internet (changed as follows), but what Aguang is going to talk about today is the problem of not being able to add picture watermarks when uploading pictures in the photo album (actually The changing method is the same, the same problem seems to be dedecms5.7) and the setting of whether to add watermark to the picture is invalid. Solution:
Solution to the problem of adding watermark to picture and adding watermark to picture collection:
1 , System-> Basic System Parameters-> Attachment Settings-> Whether to use watermarks in the atlas (small pictures will also be affected): Yes
2. System-> Picture Watermark Settings//As required , set it up
Open dede\swfupload.php, find
//WaterImg($cfg_basedir.$fileurl, ‘up’);
and remove the // in front of this sentence, that’s it! Then upload the image again.
dedecms5.7 pictures are watermarked or not. The problem and solution are invalid:
Open the "/include/helper/image.helper.php" file under the DeDeCMS installation root directory and find the following Code snippet:
if( isset($GLOBALS[’needwatermark’]) ) { $photo_markup = $photo_markdown = empty($GLOBALS[’needwatermark’]) ? '0': '1'; }
modified to:
if( isset($GLOBALS[’needwatermark’]) ) { $photo_markup = $photo_markdown = empty($GLOBALS[’needwatermark’]) ? '0' : '1'; } else { $photo_markup=$photo_markdown='0'; }
The third problem:
Issues with calling thumbnails on content pages such as articles and products. This question was raised by my wife. You can now see that there is a picture above "I want to buy" at the top of the right side of my blog's Taobao content page. If there are no pictures in it, then visitors will not know what product you are recommending, and this kind of Taobao is destined to fail. My wife proposed this, so I think it’s very good. Do not insert product advertisements in the content of the article, which invisibly closes the distance between visitors and makes the advertisement invisible. This is the highest state of Taobao customers at this stage. It is said that it can improve the conversion rate. Haha, I don’t know yet. I believe there will be results after a trial run for a while. Yes.
Fourth question:
When browsing photos on the baby photo album content page (single photo album page): the previous photo is not displayed in IE8 when the mouse is parked on the picture. Next arrow symbol.
Because this photo album template uses the template from another website that I copied intact, it appears normal on the other website, but not normal on this website, which is strange. Yesterday afternoon I was so dizzy that I didn’t know whether to go home or not. The hard work paid off and I finally discovered the reason. It was that when using cursor: url in CSS to call these two icons, the paths used were different. Another website of mine used cursor: url(/templets/image/arr_left.cur ), and my blog uses cursor: url(../image/arr_left.cur), which causes it not to display properly, but it works fine in Google Chrome. Later, after checking online, it turned out that the cursor: url under IE8 does not support relative paths in the form of the upper-level directory (such as ../image/1.jpg). It was OK to change the blog image arr_left.cur and arr_right_cur calls to absolute paths. That is to say, my blog’s cursor: url(/statics/image/arr_left.cur) call can be viewed normally through the image content of my blog.
The fifth question:
The problem of special effects at the top and bottom of the imitation QQ music website's return website. Many websites have released the code, but for novice level people Speaking of, the introduction of the program I have used is not very clear, so I will just say it here, hoping to help new people who may encounter it later. The download address of the specific code is given at the bottom of my blog.
接下我来我具体说说在使用过程中要达到效果就必须要注意的问题:
必须对网站body所有内容加一个
<a name="gotop"> </a> <DIV>网站所有内容</DIV> <a name="gobottom"> </a> <div class="go"> <a rel="nofollow" title="返回顶部" class="top" href="#gotop"></a> <a rel="nofollow" title="如果您有意见,请反馈给我们!" class="feedback" href="http://baby.ag优化.cn/plus/guestbook.php#write" target="_blank"></a> <a rel="nofollow" title="返回底部" class="bottom" href="#gobottom"></a> </div>
The above is the detailed content of What are the problems faced by dedecms when building a Taobao blog site?. For more information, please follow other related articles on the PHP Chinese website!

dedecms增加多语言的方法:1、进入dedecms后台,创建封面栏目;2、将封面栏目“常规选项”的文件保存目录设置为cn或者en;3、将封面栏目“高级选项”的列表模板设置为“cn_index.htm”或者“en_index.htm”;4、单独调用每种语言的封面栏目和每种语言下的导航栏目即可。

织梦cms是用PHP语言写的。织梦CMS(DedeCMS)是一个PHP开源网站管理系统,作用是构建中小型网站;它采用PHP+MySQL技术开发,可同时使用于windows、linux、unix平台。

dedecms是PHP语言开发的;dedecms中文全称是织梦内容管理系统,是一个PHP开源网站管理系统;dedecms基于PHP和MySQL技术开发,可同时使用于Windows、Linux、Unix平台。

dedecms删除栏目的方法:1、登录后台管理;2、进入“栏目管理”,可以看到当前网站所有栏目;3、选择要删除的栏目;4、将鼠标悬停在栏目名称上,删除栏目;5、点击“确认”按钮以继续删除操作;6、删除成功。

织梦内容管理系统(DedeCMS) 以简单、实用、开源而闻名,是国内最知名的PHP开源网站管理系统,也是使用用户最多的PHP类CMS系统,在经历多年的发展,目前的版本无论在功能,还是在易用性方面,都有了长足的发展和进步。

火车头dedecms出现乱码解决方法:1、检查数据库编码;2、修改dedecms配置文件;3、检查浏览器编码设置;4、清理缓存和临时文件;5、寻求专业帮助。

dedecms是指织梦内容管理系统,是一个PHP开源网站管理系统,用于个人网站或中小型门户的构建;dedecms是基于PHP和MySQL技术开发,可同时使用于Windows、Linux、Unix平台。

dedecms无法修改的解决方法是:1、检查文件夹和文件的读写权限是否正确;2、使用最新版本的DedeCMS,并保持数据库、插件和主题等组件的版本与CMS核心匹配;3、添加了不兼容的插件或主题,导致DedeCMS无法正常工作;4、检查PHP日志和调试信息以找出问题并解决。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
