Dedecms Imitation Station tutorial (i): First knowledge DEDECMS

Source: Internet
Author: User

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

Many people only know to have a tutorial, want to that, even basic program structure, template files are unfamiliar. Even if the other person's template will not be modified, but also to insist that there are other people's templates have problems. Here many people only know to have a tutorial, want to that, even basic program structure, template files are unfamiliar. Even if the other person's template will not be modified, but also to insist that there are other people's templates have problems. Here to advise you novice webmaster. The grindstone does not mistakenly cut the material. Want to learn imitation station, or you use other stations you always want to change it, there is no template for others to do you can fully use, always have to modify some of the (except the official AH)

Here take 5.3来 for reference. Please check in. Please download the latest version of the installation DEDECMSV5.3 before you begin.

Let's start with the Dede directory structure and see what those folders are all about.

/dede This is the admin directory.

/date This is some system data. The system configuration file is in this directory.

HTML official default generated HTML directory. Of course you don't have to. Set to another directory. I always like to change the file here. The old man asked me. How to modify the template how to create a bit have been restored. It's not a template to change.

/member member folder. Including registration login personal Space Control Panel and so on its template in its directory under the Templets folder

Commonly modified several templates explained below

Head.htm, this is the head of the member backstage.

Foot.htm This is the tail of the member backstage

Index.htm This is the homepage of the member backstage

login.htm Login Template

Reg-new.htm Registration Template

/special This is a topic catalogue. Contains the generated topic list pages and topic content pages

/plus Plugin Directory

/include system Function File

/uploads Upload file directory

/templets template file directory. This is the point. Now let me explain the file inside. Let you know in your heart.

Here only say two directories under Templets default and style

/templets/style This folder contains all the CSS files. The famous dedecms.css is in this folder.

/templets/default This folder contains all foreground templates.

Head.htm Head Template

footer.htm Tail Template

Index.htm First Template

Index_*.htm Channel cover Template

List_*.htm Channel List page template

Article_*.htm Content page Template

Search.htm Search Page Template

Singlepage.htm Single page template

Tag.htm Label page template

Taglist.htm Label List page template

Look. These are basically all of the most commonly used pages. If you are familiar with all these documents, you can understand them. Imitation station that is not a piece of cake ah.

Open these templates with DW look at it, pay special attention to the label oh, look at the front desk. What kind of label corresponds to what effect you will understand. Later how in the imitation station to call again. It is not necessary to remember. It's OK to know where it is. I really do. You can find it right away.

The directory structure is basically finished. That's right. I'm going to go through the process first. And then eventually a video tutorial fits. So everyone will be more accessible. Reading this series of articles is a basic knowledge of learning. Video is my demo combat. I will choose a step out of the imitation.

Because time is limited, I will write an article every day. As for the total number of the chief engineer, I do not know. Anyway, so far.

Continue tomorrow. Analysis of DEDECMS template code structure reprint please write name its source: Grassroots Webmaster Alliance www.54benbenzu.com to advise you novice webmaster. The grindstone does not mistakenly cut the material. Want to learn imitation station, or you use other stations you always want to change it, there is no template for others to do you can fully use, always have to modify some of the (except the official AH)

Here take 5.3来 for reference. Please check in. Please download the latest version of the installation DEDECMSV5.3 before you begin.

Let's start with the Dede directory structure and see what those folders are all about.

/dede This is the admin directory.

/date This is some system data. The system configuration file is in this directory.

HTML official default generated HTML directory. Of course you don't have to. Set to another directory. I always like to change the file here. The old man asked me. How to modify the template how to create a bit have been restored. It's not a template to change.

/member member folder. Including registration login personal Space Control Panel and so on its template in its directory under the Templets folder

Commonly modified several templates explained below

Head.htm, this is the head of the member backstage.

Foot.htm This is the tail of the member backstage

Index.htm This is the homepage of the member backstage

login.htm Login Template

Reg-new.htm Registration Template

/special This is a topic catalogue. Contains the generated topic list pages and topic content pages

/plus Plugin Directory

/include system Function File

/uploads Upload file directory

/templets template file directory. This is the point. Now let me explain the file inside. Let you know in your heart.

Here only say two directories under Templets default and style

/templets/style This folder contains all the CSS files. The famous dedecms.css is in this folder.

/templets/default This folder contains all foreground templates.

Head.htm Head Template

footer.htm Tail Template

Index.htm First Template

Index_*.htm Channel cover Template

List_*.htm Channel List page template

Article_*.htm Content page Template

Search.htm Search Page Template

Singlepage.htm Single page template

Tag.htm Label page template

Taglist.htm Label List page template

Look. These are basically all of the most commonly used pages. If you are familiar with all these documents, you can understand them. Imitation station that is not a piece of cake ah.

Open these templates with DW look at it, pay special attention to the label oh, look at the front desk. What kind of label corresponds to what effect you will understand. Later how in the imitation station to call again. It is not necessary to remember. It's OK to know where it is. I really do. You can find it right away.

The directory structure is basically finished. That's right. I'm going to go through the process first. And then eventually a video tutorial fits. So everyone will be more accessible. Reading this series of articles is a basic knowledge of learning. Video is my demo combat. I will choose a step out of the imitation.

Because time is limited, I will write an article every day. As for the total number of the chief engineer, I do not know. Anyway, so far.

Continue tomorrow. Analysis of DEDECMS template code structure reprint please write name its origin: Grassroots Webmaster Alliance www.54benbenzu.com

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.