Home > Article > CMS Tutorial > How to change the dedecms template
First, upload the templates downloaded in advance to /templets via FTP, and put them together with the default (because the demo address is local, so what you see is local folder). As shown in the picture:
#Next, log in to the backend of the website (www.yourwebsite.com/dede (backend address, default address, please enter the modified address if you want to modify it) ), enter your account number and password, and log in to the backend of the website. As shown in the picture:
Related recommendations: "dedecms usage tutorial"
Log in to the website backend, click "System-System "Basic Parameters", there is a "Template Default Style" on the right. Change the default "default" to the name of your template folder, and click "OK" to save. As shown in the picture:
Next, click "Generate - Update Home Page" in the left menu. Here you can see that there is still "default" after "Select Home Page Template". At this time, you need to change this to "Template Folder Name" and click "Update Home Page HTML". As shown in the picture:
After updating the homepage, the homepage displays the content of the updated template, but the column pages and content pages inside are still the same as before, because there are no Update, here you need to update the columns, content pages, and update the cache. Click "Update" on the left menu bar, and then select "Update homepage HTML, update column HTML, update document HTML, etc." one by one as shown in the picture:
## At this point, we have changed dedecms default template has been completed. If you find that it has not been updated, you can clear the browser cache, or regenerate the homepage and change the homepage to static browsing, as shown in the figure:The above is the detailed content of How to change the dedecms template. For more information, please follow other related articles on the PHP Chinese website!