[Zope-CMF] Publishing folders

Florent Guillaume fg@nuxeo.com
Thu, 25 Jul 2002 16:13:38 +0200


In article <20020725120822.65482.qmail@web20701.mail.yahoo.com> you write:
> Hi Chris,
> 
> Thanks for your help - I think that means I can't run
> folders through workflow. Like you say, I am using
> CMF1.3b2. And hopefully I'm now out of HTML...!
>[...]
> However, I see all over CMF discussions the problem
> with trying to make folders behave like other site
> content, like documents. People seem to be constantly
> trying to make them behave like portal content -
> CMFArticle is an example of this.
> 
> Does anyone know the reason for making folders some
> sort of special CMF type - why can't they be portal
> content like everything else? CMFArticles etc would be
> much simpler to implement.

It's historic. Folders were supposed to be containers and not content so
there was no need to workflow them, or catalog them.
Additionnaly it was non-trivial to subclass them to *make* them be
workflowable or cataloged.

However in the upcoming CMF-1.3 (and in CVS) this is cleaned up. The
only difference between folders and content is that Portal Folders are
not cataloged. But they are workflowed if you want them to.

Note also that in CMF-1.3 Skinned Folders are both workflowable and
cataloged, so it's a good base for building other things, like
CMFArticle.

(I've debated with myself if we should also make default Portal Folders
cataloged (it would be easy), but it breaks a number of things that
expect to find only content in the catalog.)

Florent



-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com