[Zope] File Extensions in FileSystemSite Product or FileSystemDirectoryView

Dieter Maurer dieter@handshake.de
Mon, 16 Jun 2003 22:52:14 +0200


Elena Schulz wrote at 2003-6-16 11:53 +0200:
 > ...
 > with adding registerFileExtension('zpt',Page Template) I could make
 > FileSystemSite to recognize .zpt as a Page Template too.
 > Shouldn't that be standart as 'zpt' is the standard Extension for ZPT's and
 > not 'pt' as implemented or am I wrong?

Probably, it should...
File a bug report...

 > >   When you have a modern CMF version (1.3.1 or above),
 > >   then you can define a "keep_extension" property with
 > >   a true value to prevent the extension to be discarded
 > >   for this file.
 > 
 > but how to add a property to an object in the filesystem? FileSystemSite
 > doesn't allow additional properties.

In "FSDirectoryView", you define properties for file "XXX" in the
file "XXX.properties".

As mentioned earlier, I do not know about "FileSystemSite".



Dieter