Installation and deployment
Version 3.x > Installation and deployment > Same database, multiple sites, different templates and doc types. View modes: 
User avatar
Guest
janastasio@crameronline.com - 7/21/2008 2:13:57 PM
   
Same database, multiple sites, different templates and doc types.
Background information:
-5 almost identical sites
-different urls
-share the same users
-all will have their own templates and doc types, even though they will only slightly differ.

Desired Outcome:
We would like to build one site and duplicate it 5 times and use the existing database so they can share users.

Problem:
Our problem is that we would like to have the templates and doc types duplicated but not shared or overwritten.

Partial Solution:
We have figured out a work around for the templates, by simply placeing the templates in a folder and renaming the folder after each duplication so they are not overwritten. But we dont know how to get all the doc type paths to change apon duplications.

Other Thoughts:
One site in kentico, multiple folders underneath for each actual site. But we needed different domains.

Finding some way to make a site like the "corporate or blank" template sites where we can just make our templated site, and run the wizard to make a new one each time.

Any ideas how we can do this in kentico, or an alternative approach? Thanks in advance!

John Anastasio

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/29/2008 6:16:50 AM
   
RE:Same database, multiple sites, different templates and doc types.
Hi,

You partial solution is also possible. But you can just use the same templates for the other site, and then, in CMS Desk -> select appropriate document -> Properties tab -> Template -> Save as a new template. This could be used for the pages for which you want to change the page template.

Regarding to the web site template. Could you please try to follow these steps:
1) create your web site template as usual
2) export the site
3) unzip the package to some folder in your project (or copy just its content as it is). Recommended (in v3.1) is ~\App_Data\Templates\<your_site_name>
4)In Site Manager -> Development -> Web templates -> create new templates and fill up the fields as wanted. The File name field should be actually path to the folder in format as in point 3
5)Click OK to save the web template. Now when creating new site, it should be present in web templates listing.

I hope it will help.

Best Regards,
Juraj Ondrus