[Zope-CMF] Re: History of why portalfolders are not cataloged?
Tres Seaver
tseaver at zope.com
Sat Jan 17 23:18:46 EST 2004
Chris McDonough wrote:
> In CMFCore's PortalFolder, there is the following set of methods and a
> comment explaining them:
>
> # Ensure pure PortalFolders don't get cataloged.
> # XXX We may want to revisit this.
>
> def indexObject(self):
> pass
>
> def unindexObject(self):
> pass
>
> def reindexObject(self, idxs=[]):
> pass
>
> I guess maybe I am asking to revisit this... does anyone know the
> genesis of this decision and what it would break to allow portalfolders
> to be cataloged?
Use SkinnedFolder; the choice was that the "skeleton" of the site
wasn't content, and shouldn't show up in search results. If you *want*
to have folders which are "contentis", that is what SkinnedFolder is for.
Tres.
--
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the Zope-CMF
mailing list