Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

Working with Multiple Websites

New in 1.18.0

Working with Multiple Websites

With Scrivito, enterprises can create and manage several websites using a single CMS. As an editor, working on content of any of them is a matter of switching to the one you want to focus on. In this guide, we’ll show you what Scrivito’s editing interface has in store for you with respect to multiple websites.

You might not even notice at first that the Scrivito CMS you are using has been set up for multiple websites because there is always exactly one website active, the one you are working on. However, opening the hierarchy browser reveals a means to switch to a different website. With many websites, you can search for the one you are looking for using the input field at the top of the panel. Also, for finding a website faster, the panel includes two sections, “Recently used sites” and “All sites”. Activating a website redirects you to its homepage.

Using the small plus button in the top right corner of the panel, you can create new sites, provided that you are in a working copy. However, since websites must be supported by the setup of your Scrivito CMS, it may well be that a new site is not publicly visible after publishing the working copy.

Regarding properties dialogs, assets originating from a site other than the currently active one as well as links pointing to a different site are marked with a label indicating their respective source or target.

Websites in the Content Browser

Just like the page hierarchy, the Content Browser is geared towards the currently active website. You can switch to “All sites”, though, for selecting a piece of content from elsewhere, e.g. the image to use in an image widget.

As a default, when uploading a file, it initially gets associated with the current website, but you can change this assignment using the site selector in the properties of the asset. Select “Global” if you want the file to be available on all websites.

However, the site assignment of CMS objects that are part of the page hierarchy cannot be altered, meaning that a homepage and the pages directly or indirectly underneath it cannot be transferred individually to a different site as this would damage the site’s structure. You can, however, change the site assignment of pages as well as other resources not connected to the hierarchy, e.g., of landing pages.

Copying and moving pages across sites

Using the main menu in the top right corner, you can copy and paste or move pages not only within the same site but also across sites. In the latter case, to copy or move the currently displayed page, first select “Copy or move page” from the main menu, then switch to the target site, navigate to the target page, and, again using the main menu, paste a copy of the page there, or move it there as a subpage. Alternatively, the hierarchy browser is available for copying, pasting, and moving pages independently of the current page.

As a page originating from a different site is being pasted or moved, Scrivito automatically adjusts its site assignment accordingly.

Keep in mind that pasting a page with subpages does not create copies of the subpages, whereas moving a page transfers it including its direct and indirect subpages.