[Zope3-Users] Re: how is ++etc++site view created?
shaileshk at gmail.com
Sat Nov 25 10:13:14 EST 2006
Sorry for bothering with the question. I figured it out. the vm was an
object derived from Folder() but not a Folder() object. So probably certain
permissions were not working probably. Things work fine on a normal Folder()
On 11/25/06, Shailesh Kumar <shaileshk at gmail.com> wrote:
> I was trying the following.
> During the startup I caught the IDatabaseOpenedWithRootEvent. I created a
> folder inside the root, and then setup the folder as a site by using:
> sm = site.LocalSiteManager(vm)
> # vm is basically now http://localhost:8080/vm
> Following things work:
> assert vm.getSiteManager() is sm
> default = sm['default']
> 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, zope returns 'page not
> found' error.
> Could you please tell me what is going wrong here ?
> With regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope3-users