1. If the downloaded dedecms template folder name is default and the default template file name is duplicate, you need to change the file name and upload it to FTP without replacing the original default file; Login website management background-system-system basic settings-template default style. Change the original dedecms default style file name to the file name you uploaded in the right margin.
Then update the website: in Generate-Update Homepage html-Select Homepage Template, then select the uploaded template, then update Homepage html, and then update the whole site.
Example of installing a replacement template:
1. Upload to the Temples folder in FTP. The image will replace the original image folder, and dede will be placed in the Temples folder.
Second, log in to the website management background-system-system basic parameters-template default style. In the space on the right, change the original dedecms acquiescence file name to the file name you uploaded.
3. Generate-Update the homepage html-Select the homepage template and then the dede/index.htm template uploaded by yourself, and then update the homepage html to update the whole site.
The three template files for common articles are
There are three main types of files in the folder Article _ Article. HTMList _ Article。 HTMLINDEX _ Article。 HTMDefault: They are distinguished by the file name prefix.
1, article_xxxx article template
Second, the list_xxxx list template
3, index_xxxx cover template
There are many kinds of contents published in dedecms: general articles, software, photo albums, commodities and so on.
Check the files used by each template, and click Channel Management; Content model management; There is a column on the right; Management; , click on the small blue icon on the template, you can see the file corresponding to the template.