Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to fill in the default site in phpcms

Shulou Source: shulou.com Published: 2022-06-02 12:14:32 10月02日 Update

Today, I will talk to you about how to fill the default site in phpcms. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

Phpcms default site filling method: first create a new folder under templates; then enter the phpcms background management interface; then click "Settings-> site Management-> add site"; finally, select "sub-station" in the template style.

Phpcms sets the default site

There is a direct way:

To avoid errors, first make a copy of the default folder under phpcms\ templates.

Delete the files under the original default folder, and copy your new site template into it. As soon as you open it, it will be your site content directly.

This is how the template is handled.

If you want to keep the original station, the second way is:

Create a new folder under phpcms\ templates, assuming the name "fenzhan"

Go to the background: interface-> template style-> give this file seven Chinese names "sub-station"

Go to the background: set-> site Management-> add site-"Select" sub-station in template style

Then your new site will use the template in the "fenzhan" folder.

Access path: localhost/index.php?m=content&c=index&a=init&siteid=2

Finally: with the combination of the first and the second method, you can make a portal with different regions.

After reading the above, do you have any further understanding of how to fill in the default site in phpcms? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Site file template folder content sub-station background method style management that is interface site management new station different method region text name more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Microsoft Shulou Tech Info macOS Redmi