Maintaining and managing multiple websites is no small feat. From installing new software instances to adding/managing users and groups to updating separated streams of content, each website has a laundry list of maintenance tasks. One way to alleviate the burden of website maintenance is to consolidate multiple websites into a single parent site using child sites.
With out-of-the-box Plone 5.0, developers have an intuitive interface to create and manage child sites — without the need for additional add-ons. Prior to Plone 4.3, developers used Lineage to create child sites.
While Lineage does provide additional functionality for child sites, many organizations will find that out-of-the-box Plone suits their needs. To explore additional functionality for child sites, check out the collective.lineage add-on and its extension add-ons.
Below, take a look under the hood and learn how to create a child site using out-of-the-box Plone in just four steps.
Child sites, especially those with unique URLs, may seem like independent websites, but they are not. In short, the parent site has access to the content within the child sites, but the child site only has access to its own content.
For example, child sites can be used to support a variety of clients including:
In addition to reducing the overall time spent on website maintenance, there are many benefits to using a child site.
With a child site, developers can:
Plone has everything needed to setup a child site out-of-the-box:
1. Create a new content type based on the Folder type.
Site Setup
control-panel. Look for Dexterity Content Types
under the “Content” Section. Clone
button to create a copy.Type Name
to “Child Site” (the Short Name is automatically generated for you).2. Modify the Child Site
content type and apply the Navigation root
behavior.
Child Site
in the Dexterity Content Types
control panel.Behaviors
tab.Note: The
Child Site
content type works like a standard Plone folder, but has its own top-level navigation menu separate from the parent site.
3. Head to the root of the Plone site, click Add new…
and choose Child Site
.
4. Enjoy! A new child site can now be created.
This four-step process will work for both a new Plone site and existing sites, and is easy to adapt to existing websites.
Using child sites will streamline website creation and management processes. Now, with out-of-the-box Plone, child sites can be quickly created and managed as part of a parent site.