Website making: how to make a website template of dedecms
Fierce Eagle 2021-02-23 07:38:26

Today I will introduce how to make dream weaving cms Templates , In my work experience , The most popular station building system is dream weaving cms, And the Empire PageAdmin, Although the dream weaving team disbanded , There are many loopholes , It leads to the loss of many users , But I have to say , The template making of dream weaving is very convenient .

Today we mainly introduce dream weaving cms Template production of .

DedeCms cms It's powerful in terms of information capabilities , User message , Description of the text inside the station , Related information recommends , link , The advertisement module and so on all saved some time which will not be redeveloped . We just need to follow up the corresponding syntax to call it .

Our common corporate websites , Government portal , News and information can be used to dream cms Backstage management , Know something html elements of grammar ,css Basic can make enterprise website , This also makes the industry appear only typing will build a website . But dream weaving cms There are a lot of loopholes in , Xiaobian often meets friends whose websites have been tampered with in some netizen groups , Server security and website vulnerabilities should be updated in a timely manner . To avoid the site being tampered with, resulting in some unnecessary trouble .

Here's how to apply the dream weaving template . Let's download the static page of the website template we need to apply first . There are usually three main pages , home page , The article lists , Article details page , With a little more expansion, there's a list of pictures , Picture details , Single page , The principle is similar , Call unused pages , Just modify the corresponding page .

 Website production : How do you do it? dedecms( DedeCms cms) Website template


1、 Organized static pages


Organize the static page first , Then build a good local website environment , You can leave a message if you don't build it , Usually the next integration package is OK .

Let's look at dream weaving cms Template directory for

 Website production : How do you do it? dedecms( DedeCms cms) Website template


DedeCms cms Template directory for

And others cms General syntax ,templets\default The template directory of the file , That's where the home page shows .

Some basic English can be seen . This is also the naming convention for programmer files , Let users know the purpose of this file at a glance .

head.html and foot.htm It's a common header and bottom file . We can sort out all the common places , Save code and facilitate the later maintenance of the website .

What is public file , Xiaobian uses a website screenshot to let you know

 Website production : How do you do it? dedecms( DedeCms cms) Website template

Website public header


 Website production : How do you do it? dedecms( DedeCms cms) Website template

Website public bottom


This is the common common code . We can put it on our own head.html and foot.html

DedeCms cms The first page template file directory is article_default.htm We can also see that the file name of the corresponding mobile terminal is article_default_m.htm If you need to default the mobile page, you need to change this file .

The article list page is list_article.htm We can also notice that there is a default article front page list_default.htm

The article details page is article_article.htm Page . Let's replace the static pages we've sorted out ,css Files and pictures are placed in the corresponding path , Set up corresponding columns in the background . Then the program calls the data according to the specified column .

 Website production : How do you do it? dedecms( DedeCms cms) Website template

DedeCms cms


Such a simple website is finished , Of course, many details are omitted , If you have any questions, please leave a message , Welcome to pay attention , Later, I will introduce another two well-known station building systems :PageAdmin cms And Empire cms Template making tutorial for .

版权声明
本文为[Fierce Eagle]所创,转载请带上原文链接,感谢
https://fheadline.com/2021/02/20210223073759983m.html
相似文章

2021-08-09