How to fill in the default site in phpcms: first create a new folder under templates; then enter the phpcms background management interface; then click "Settings->Site Management->Add Site"; finally, in the template Just select "Branch Station" in the style.
phpcms sets the default site
Recommended: "phpcms tutorial"
There is a direct method:
In order to avoid errors, first go to phpcms\templates and copy the default folder and keep it.
Delete the files in the original default folder and copy your new site template into it, so that when you open it, your site content will be directly there.
This is how templates are handled.
If you also want to keep the original site, the second method:
Go to phpcms\templates to create a new folder, assuming it is named "fenzhan"
Go to the background: Interface - >Template style->Give this file seven Chinese names of "sub-sites"
Go to the backend: Settings->Site management->Add site-》Select "sub-site" in the 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: By combining the first and second methods, you can create a portal with different regions.
The above is the detailed content of How to fill in the default site in phpcms. For more information, please follow other related articles on the PHP Chinese website!