Home > CMS Tutorial > DEDECMS > body text

Where is the template file of dedecms?

藏色散人
Release: 2019-08-01 16:34:35
Original
3434 people have browsed it

Where is the template file of dedecms?

Where is the template file of dedecms

We divide the templates of DedeCMS system into 4 types:

1, commonly used templates, mainly in / templets/default/

2, default underlying templates, in / templets/system/

3, plug-in directory templates, in / templets/plus /

4, member template, introduce several concepts in /member/templets/

:

Cover template: It can be understood as the column homepage template, generally use "index_ Name

list template: column list template, generally use "list_identify ID.htm" Name

content template: obviously it is the content page text template, generally use " article_identification ID.htm” Naming

The naming rules mentioned here generally refer to the naming method of the default template. If you create a new template, you can name it arbitrarily, as long as you manage it in the background column and advanced options. You can use it by specifying the corresponding template.

We mainly explain the functions corresponding to the dedecms default template.

Open the / templets/default/ folder and we will see a lot of html files (there are also three folders: js, images, and style, which are the js files and picture-level css used in the template). Style sheet), these are the default files. The following is a list of what the corresponding templates are used for.
head.htm - website header file, generally includes logo, banner advertisement, logo and navigation. Content
footer.htm——The file at the bottom of the website, which generally stores website copyright information and other content. When the custom model column does not specify a new template, the system will customize the matching template)
index_article.htm - article cover template
index_default_sg.htm - independent single-table model cover template,
index_image .htm——Album cover template
index_infos.htm——Generally refers to classified information cover template
index_shop.htm——Product model cover template
index_soft.htm——Software model cover template
list_article .htm - article list template
list_default.htm - generally a list template for a custom model column (when the custom model column does not specify a new template, the system will customize the matching template)
list_image. htm——Atlas list template
list_infos.htm——Classified information list template
list_shop.htm——Product list template
list_soft.htm——Software list template
list_spec.htm——Special topic List template
article_article.htm - article content template
article_default.htm - generally the content template of a custom model column (when the custom model column does not specify a new template, the system will customize the matching template )
article_image.htm, article_image_cl.htm, article_image_frame.htm, article_image_new.htm——Atlas content page template
article_infos.htm——Classification information content template
article_shop.htm——Product content template
article_soft.htm, article_soft_frame.htm - software content template

For more dedecms technical articles, please visit the d

edecms usage tutorial

column!

The above is the detailed content of Where is the template file of dedecms?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!