[Zope3-Users] Re: how is ++etc++site view created?

Shailesh Kumar 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()
object.

With regards,
-shailesh



On 11/25/06, Shailesh Kumar <shaileshk at gmail.com> wrote:
>
> Hi,
>
> 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.setSiteManager(sm)
>
> # 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,
> -shailesh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20061125/c94a90f7/attachment-0001.htm


More information about the Zope3-users mailing list