The modification skill of dedecms in the content management system of the dream

Source: Internet
Author: User
Keywords Modification Tips

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The Dream Content management system is a good open source program, why it is so popular now. Today, I will share with you the personal experience of building my own station. In particular, the corresponding novice will have some help, with Dedecms station is actually very simple, if you master a few skills, of course, I personally feel that we still need to understand the point of HTML and php,css language, do not need you back to programming, But at least you have to read back to understand, so that the modification can be handy, now to the point, today's main talk about the use of DEDECMS to build the station experience and skills:

The first step: I think no matter what program to build a website, the first thing to do is to look at its help file, the Help file has a very detailed installation process and the role of the file in the program description, such as tags: {dede:arclist typeid= ' row= ' col= ' titlelen= ' infolen= ' imgwidth= ' imgheight= ' listtype= ' orderby= ' ' keyword= ' '}{/dede:arclist ', only you know these few knowledge to do, Of course, except Master. And even if the help file doesn't say what you don't know, then you must learn to use "Baidu" to search your answer, you now encounter a lot of problems, in fact, many owners have already met, so the internet will have a lot of answers, directly brought over to use is, this can save time.

The second step: understand the basic knowledge after you can upload the program to start installation, this is not said, now to say is to modify the template, we upload the dedecms is just a template, everyone must have their own needs, so it is definitely to modify the template, In fact, we mainly need to modify the Templets under the default folder under the file, modify the template of the homepage is in index.html Modify, such as navigation bar top of the 2 ads corresponding is <div class= "banner" > {Dede:myad Name= ' banner '/} </div> and <div class= ' Banner2 ' > {dede:myad name= ' banner2 '/} </div> In the background ad Management settings banner and Banner2 logo on the corresponding, and the number of navigation bar changes corresponding to the Dede:channel type= ' top ' row= ' currentstyle= ' in the row is the corresponding number, Change to the number you need, please note that, if the number is too much, may be a line can not be displayed, this time you need to modify the style of the Dedecms.css file, in the navigation bar #navmenu ul Li Span margin:0 0 0 1px and padding:0 0px 0 0 of the value, according to their own needs to adjust; The number of articles that are displayed on each channel in the home page is also corresponding to the correction of the row values in each channel, these are in index.html; index.html Bottom can add online QQ or other online software JS code call, this is very simple, As long as the other Web site to generate code after the copy over OK.

The third step: the first page at the bottom of the copyright modification is in the footer.html file, you go in and know how to modify, this is not much to say, the last point is that you want to change somewhere, but do not know where to change, then you open this page, and then the address bar of the last file name, I tell you a tip, such as I want to change the advanced search this page, Then you can click on the advanced search to open after you look at the URL is http:www.xxx.com/plus/heightsearch.php, then in fact you should think now is to repair heightsearch.htm, this file is in the plus folder.

Writing skills is not very good, do not know whether to express clearly, if you have questions can contact me, I am willing to answer for you.

The last ad under my website: http://www.listask.com, Welcome to fight Reprint, please specify the source, thank you!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.