Dedecms Template installation tutorial

Source: Internet
Author: User
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!

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.