[Zope-CMF] Eliminating the /Members directory?

Sidnei da Silva sidnei@x3ng.com.br
Fri, 9 Aug 2002 16:26:09 -0300


On Sexta 09 Agosto 2002 15:42, David Elfstrom wrote:
| I'm wondering what can be done to eliminate the /Members directory in the
| CMF.
|
| Basically I want to have people be able to contribute documents, news
| items, articles, and other document types, but I don't want those documents
| to be stored in the /Members/username -- I want them to be stored in /news
| and /articles and /policies. User accounts should be able to come and go,
| but what the user creates should stay. Does this make sense? Has anyone
| else done this with the CMF, or did you just roll-your-own content
| management system in Zope?

I implemented this by creating a script that runs on the 'publish' transition 
of the workflow and moves the object out of the member folder into a central 
place, and this place is regulated by a registry that associates portal_type 
and path. So, when user 'publish' News Item then move object to /News. If 
user 'publish' Article move object to /Articles and so forth. When the user 
'retract' the content, I move it out of the folder into the Members/user 
folder.

[]'s
-- 
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.18 ppc

New crypt.  See /usr/news/crypt.