<div>Hi, </div>
<div>&nbsp;</div>
<div>I was trying the following. </div>
<div>&nbsp;</div>
<div>During the startup I caught the IDatabaseOpenedWithRootEvent. I created a folder inside the root, and then setup the folder as a site by using: </div>
<div>&nbsp;&nbsp;&nbsp; sm = site.LocalSiteManager(vm)<br>&nbsp;&nbsp;&nbsp; vm.setSiteManager(sm)</div>
<div>&nbsp;</div>
<div># vm is basically now <a href="http://localhost:8080/vm">http://localhost:8080/vm</a></div>
<div>&nbsp;</div>
<div>Following things work: </div>
<div>&nbsp;&nbsp;&nbsp; assert vm.getSiteManager() is sm<br>&nbsp;&nbsp;&nbsp; default = sm['default']<br><br>&nbsp;</div>
<div>So far so good. Now when I look through ZMI, I see that on the vm folder Manage site action is available. But there is nothing like ++etc++site inside vm. Also, when I click on Manage site,&nbsp;zope returns&nbsp;'page not found'&nbsp;error.&nbsp;
</div>
<div>&nbsp;</div>
<div>Could you please tell me what is going wrong here ?</div>
<div>&nbsp;</div>
<div>With regards,</div>
<div>-shailesh</div>
<div>&nbsp;</div>