You can create a sub site which inherit everything from a parent site, and then localize or add any items or elements. You can localize a content as well as a template.
This is very useful for a multilingual website which need to share or translate contents, or for a company that has many websites that need to share contents, templates and modules across sites.
We assume that you already understand how to use Kooboo. Please refer to the Quick start document for some basic knowledge if needed.
Create Sub Site.
When you are creating an application, you can select a "Base" for this application. That is the parent application this new application will inherit from. If you do not wish to inherit from other websites, you can select "root".
Click OK, a sub site is created. You can browse the new created sub site directly. Default URL will be: Http://www.kooboo.com/c-yoursitename
You will see a website identical as the parent website now.
Localize elements
Right after a sub website created, the sub website contains all elements from parent website. You can localize almost any item on this sub site. The elements you can localize include:
--- Content Template
--- Layout Template
--- Text Resource
--- Binary Resource
--- Content
--- Page
Content folder of sub website contains no sub folder by default. Content will query from parent website. Once you create a localized content folder, Data Rule will then query the local folder. You will also be asked to explicitly include each content item from parent folder, otherwise your content at front site will be empty.This is to give you a freedom to choose which content items to be included in sub website and which items not.
To localize any item, for example, a Layout template, go to: Application --> Design --> Layout Template
Select the Layout template you want to localize, right click on it. This will open an operation menu. Select "localize". See below screen.
You can modify anything you want and see the changes directly on sub website.
Localize Content
To localize content, first we need to create a content folder to store content items. It is same as create a standard content folder, except we need to define which parent/base folder this folder will inherit from.
Select Schema and Select the right base to create the folder. After a folder is created, it will list all contents from parent base folder by default.
The column "Application" show which application those content belongs to. You can click "New" button to add local content or you can click right on one content item to localize it.
Important NOTE: When you create a local folder, by default content from parent folder will show in CMS but does not show in front site data query. You need to check the "inclusion" to include each item from Parent folder to sub folder. This is to give sub folder owner possibility to selectively publish content.
After creation of a local folder, your page will automatically pick up content on the local folder. You can enter content into local folder and browse them on front end site directly.
