[Zope] Folder with property on the file system

Jens Vagelpohl jens at dataflake.org
Mon Sep 13 07:54:22 EDT 2004


On Sep 13, 2004, at 13:41, Hong Yuan wrote:

> With ZODB, I can create a folder with properties I like. Now I want to 
> move this on to the file system with the CMF File System Directory 
> View object. Is it possible for folders in FSDV to also have custom 
> properties? If yes, how to do this?

No, AFAIK FSDV folders cannot have special properties right now. Other 
items such as FSFiles, FSPageTemplates etc can by using a .metadata 
file.

Just recently I was faced with the same problem, I wanted to have a 
title showing for a FSFolder. I coded around that by associating the 
property using a .metadata file for the default document in the folder 
and changing some code that wanted to display the title to look at the 
default document title instead.

jens

---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			Zope - done medium rare
Zetwork GmbH				http://www.zetwork.com/



More information about the Zope mailing list