CMS icon indicating copy to clipboard operation
CMS copied to clipboard

How to share repo while maintaining their own contents?

Open BrianHolsen opened this issue 11 years ago • 1 comments

If I create mutiple sites that use the same repo, contents will be seen and operated by all those sites. I need to create those sites that have the same structure and store all the contents in the same repo, but they have their own contents. I'm considering if I can add a prop (string SiteName) in TextContent class to indicate which site it belongs to, and also add a "bool EnableSharingRepoWithMutiSits" in Repository class to control this feature. But at the same time, I'm afraid that if this feature is enabled, and all the sites are exported and imported again, the data will not be available(importing allow to change site name, it will lose connection with the data in the repo). Any solution?

BrianHolsen avatar May 21 '14 13:05 BrianHolsen

Hi

You have to create a proper content database for each sites. You can keep the same structure on this sites, but the site has its owner content items.

If you want to share the content items, you can setup the broadcasting to broadcast the content from one site to others.

You can read the document http://kooboo.com/docs/Kooboo-CMS/Kooboo-multi-sites-solution

kooboo-jifeng avatar May 23 '14 09:05 kooboo-jifeng