silverstripe-subsites/docs/en/userguide/working_with.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

2022-08-20 12:00:04 +02:00
---
title: Working with subsites
---
# Working with subsites
## Managing content across subsites
To edit a particular subsite, choose the subsite from the dropdown menu in the left-hand menu.
![Subsites dropdown](_images/subsites-dropdown.png)
### Subsites virtual pages
You can pull in the content from a page that resides on another subsite by creating a page of the type **Subsites
Virtual Page**. Pick the subsite from which you want to pull the content, then select the page. As with regular virtual
pages, your **Subsites Virtual Page** will display the content from the original page and get updated automatically if
the original content changes.
![Subsites virtual page](_images/subsites-virtual-page.jpg)
### Duplicating pages from the main site
If you have an existing page on the main site that you would like to copy to a subsite, all you need to do is:
* Visit the page in the site tree and scroll down to the 'Copy page to subsite' dropdown
* Choose the subsite you wish to copy the page to
* Press the 'Copy' button
![Subsites copy page from main site](_images/copy-page-to-subsite.jpg)
2022-08-20 12:00:04 +02:00
You will now be directed to the chosen subsite where the page will now be duplicated in the site tree