Current location - Recipe Complete Network - Complete cookbook of home-style dishes - How to make DEDECMS thematic template?
How to make DEDECMS thematic template?
1. Enter the project management interface and click Add Project to open the following interface:

2. Then fill in the relevant information such as "Title", "Main Classification", "Key Words" and "Title Introduction". The main classification here is actually where this topic is placed. Anyway, it is enough to set it according to your own needs. If you want to show the effect, you can also add a thumbnail picture to this topic at the location of "Thumbnail" and add pictures. As for "theme template", dedecms comes with a template, the default name is "article_spec.htm", but most people don't use the default template, because few people use the default template.

3. After all the above information is filled in, click the "Special Document" next to it to enter the article selection link.

4. "Node Name" is actually the name of the category under this topic. Choosing "Node Article" is the content of the article that this category wants to show.

Click "Node Article" and a dialog box will appear. This dialog box contains all the articles in the website. In order to facilitate the selection, you can use "Search" in the lower right corner, enter the desired keywords, and display the articles in the website. After checking the article you want, click "Add selected value to list" and the content will be selected.

5. After selecting the content and article ID, determine the following interface:

6. The following nodes 2, 3, 4 ... and so on, to choose their own articles. When everything is done, it is certain that the topic can be put aside. However, if there is no template file article_spec.htm under the template path /templates/default/, you cannot publish the theme.