In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of phpcms template replacement, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
How does phpcms change the template?
This article mainly introduces the specific operation methods of how to replace the template in phpcms v9, which can be referred to by the required partners.
Share the specific operation methods of replacing templates in Phpcms V9
Let's share the general steps:
1, upload the template file to the server; 2, select the new template in [template style configuration] in site management; 3, set the corresponding template for different models; 4, modify the existing column to match the new template; 5, update the column cache, system cache, and update the HTML static page.
Share a set of pictures below:
First, upload the template folder to the phpcms/templates/ directory, and name the file, such as cmsyou. Put the corresponding CSS folder in the corresponding location (as required by the template).
Upload the template folder via FTP
You can see the newly uploaded template in the background interface.
Second, find the menu: set the "site Management" default site, click modify, and select cmsyou in the "template style configuration".
In the site settings, select a new template and confirm the submission
:
Third, different models set different templates: to the content "model management, modify articles, pictures and other models, select the newly created cmsyou name template style, the advantage of this setting: the new column will automatically correspond to the corresponding model template.
In the model settings, select the corresponding template
Fourth, return to the content column management, modify the existing column, and select the corresponding template (just select the new template directly).
Modify the column properties to select the corresponding template for the column
:
Fifth, update the column cache and system cache, if a static page is generated, then the HTML static page needs to be updated, so the switch is successful.
Thank you for reading this article carefully. I hope it will be helpful for everyone to share the method and content of phpcms template replacement. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.