Site Management->Add Site"; finally select "Subsite" in the template style. Can."/> Site Management->Add Site"; finally select "Subsite" in the template style. Can.">

Home >CMS Tutorial >PHPCMS >How to fill in the default site in phpcms

How to fill in the default site in phpcms

藏色散人
藏色散人Original
2020-07-21 09:07:172393browse

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.

How to fill in the default site in phpcms

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn