Hi, Did you tried:
>>> from zope.site import hooks >>> site = hooks.getSite() Regards, Thierry ________________________________________ De : bluebream <[email protected]> de la part de Tamer Higazi <[email protected]> Envoyé : lundi 18 novembre 2013 09:46 À : bluebream mailinglist Objet : Re: [BlueBream] problems working with ZODB in bluebream.... Hi Adam, Sorry.... I think I defined myself wrong. The point is not to work with the plain ZODB, I want to access from bluebream the rootFolder fire there data. The question is, how do I get and set the local SiteManager easily. The bluebream documentation was not very helpful. I need the most simple way, to get the rootFolder and to write data in... how to deal with the ZODB Database itself, I am familiar. Sorry for the misunderstanding. Tamer On 11/18/13 08:23, Adam GROSZER wrote: > Hi > > What about > > http://zodb.readthedocs.org/en/latest/ > > On 11/18/2013 04:25 AM, Tamer Higazi wrote: >> Hi people! >> >> I am not getting very smart with the bluebream documentation. >> I have worked a longer time ago with ZODB, setting everything's up and >> working nice that far.... >> >> I am not very interisted with traversing objects and accessing it >> through the URL. I am more interisted just working with the Zope ZODB >> Database. >> >> What is the most simple way to access the ZODB root folder where I can >> just set a new namespace and BTreeObject that I can easily fire data >> inside and fetch them as well. >> >> >> I would kindly thank you. >> >> >> >> Tamer >> _______________________________________________ >> bluebream mailing list >> [email protected] >> https://mail.zope.org/mailman/listinfo/bluebream >> > > _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
