[Zope-CMF] CMF-in-CMF searches
Tres Seaver
tseaver@zope.com
19 Jul 2002 15:26:26 -0400
On Thu, 2002-07-18 at 20:56, Heeten wrote:
> On Thu, 2002-07-18 at 13:33, Tres Seaver wrote:
> > On Thu, 2002-07-18 at 09:40, Jeffrey_Franks@i-o.com wrote:
> > > The ideal behavior that we need is:
> > > 1) The top-level CMF-site search becomes a federation
> > > of all the lower level CMF-site content
> >
> > This part is "science fiction" today; you would need to write a custom
> > "multi-catalog" object which did this.
>
> Ok, because I'm probably going to be creating a site that does include
> lots of nesting of CMF portals, how exactly does this work in CMF today?
"Nested portals" aren't directly supported, but can be emulated using
two complementary strategies:
- Create only one CMF site, and force its tools to allow replacement
(e.g, change their '__replaceable__' from OFS.ObjectManager.UNIQUE
to REPLACEABLE. Then add these tools to the PortalFolders
representing the "sub-sites".
- Create a top-level folder and instantiate the "shared" tools there;
create a CMFSite in that folder per "sub-site", and delete the tools
which you want to share from the acquired folder.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com