Contact Us
24/7
Python BlogDjango BlogSearch for Kubernetes Big DataSearch for Kubernetes AWS BlogCloud Services
<< ALL BLOG POSTS

How To Create and Manage Child Sites with Out-of-the-Box Plone

|
March 29, 2021

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 Explained

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: 

4 Steps: How to create a child site in out-of-the-box Plone

Plone has everything needed to setup a child site out-of-the-box: 

1. Create a new content type based on the Folder type.

    1. Go to Site Setup control-panel. Look for Dexterity Content Types under the “Content” Section. 
    2. Select the checkbox next to “Folder,” then click the Clone button to create a copy.
    3. Set Type Name  to “Child Site” (the Short Name is automatically generated for you).

iUWqKZTg.png

2. Modify the Child Site content type and apply the Navigation root behavior.

34ySekHs.png

    1. Click Child Site in the Dexterity Content Types control panel.
    2. Select “Navigation root” under the Behaviors tab.
    3. Click save.

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. 

RTampgjQ.png

This four-step process will work for both a new Plone site and existing sites, and is easy to adapt to existing websites.

Conclusion

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. 

How can we assist you in reaching your objectives?
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.