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
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use