Hi,<br><br>imagine you have a "template site" in /sites/template, and it contains the following files:<br><br><ul><li>template.jsp</li><li>site-config.jsp<br></li><li>style.css</li><li>index.html</li><li>about.html</li>
<li>contact.html</li></ul>Now what I would like to do is to is to create a "Site Creator" jsp page (which will be located in another site in fact, but that should not matter) which has a simple<br>form to collect some data like e.g. the title, some color settings, logo selection, etc of the new site to be created.<br>
<br>When that form is then being submitted I would like to create a subfolder in /sites/production (e.g. /sites/production/site01) and copy the files from /sites/template<br>over there (and probably create a sibling to template.jsp). At the end the new site should also be published.<br>
<br>Does anyone have some example code (CmsObject looks good to me) which could be useful in this case?<br><br>Best regards,<br>Yves<br>