Dedecms is indeed a lot of dream-weaving templates, but it is not that simple for new users to install Dedecms templates, if you understand html and css, and are familiar with the commonly used labels of Zhimeng, it will be of great help to you. First, let's take a look at Dedec.
Dedecms is indeed a lot of dream-weaving templates, but it is not that simple for new users to install Dedecms templates, if you understand html and css, and are familiar with the commonly used labels of Zhimeng, it will be of great help to you.
First, let's take a look at the Dedecms template knowledge:
1. Template path:
A: template file path: DEDE's default template file is saved under {cmspath}/templets/default.
B: template-related CSS path: the CSS path of the template file in the default template folder of DEDE is saved under {cmspath} \ templets \ style.
C: Template-related image path: all the images used by the template in the default template folder are saved under {cmspath}/templets/images.
D: default underlying template path: {cmspath}/templets/system; function: when the default underlying template is not marked, the system automatically calls the corresponding file of this folder as the underlying template.
E: Directory directory template path: {cmspath}/templets/plus; function: comments, links, RSS maps, and other templates.
F: member background template path: {cmspath}/member/templets; function: member background Template
2. template file naming rules:
(1) index _ identifies ID.htm: represents the section (column cover) template;
(2) list _ identifies ID.htm: A column list template;
(3) article _ identifies ID.htm: displays the content page;
(4)search.htm: search result list template;
(5)index.htm: Homepage template;
Okay. start the Dedecms installation tutorial:
1. Upload The downloaded template templets folder to the root directory.
2. check whether the template css and image are properly displayed. if the path is incorrect, open the source code and goInner
Modify the file and open the css file. Find the code that can represent the path in the file.
For example: background: url (../images/btn-bg1.gif) no-repeat; modify the image path
3. in the last step, locate system-system settings-system basic parameters and write your template name,
Then, in generate-html update-modify the name of the homepage template in the figure.
OK. this is the end of the dedecms Template installation tutorial!