4 Apr
2002
4 Apr
'02
6:32 p.m.
Roel Van den Bergh writes:
...
You may try "Filesytem Directory View" instead of "LocalFS". This product belongs to Zope's CMF and already knows the new Zope object types. There is a drawback: you need to register the directory that should be made available as directory views (which gives both improved security and make the interface quite easy).
How do U register a directory? Usually, I would have expected, that you look that up yourself...
from Products.CMFCore.DirectoryView import registerDirectory registerDirectory(your_directory, globals()) The directory is interpreted relative to (probably) "__path__" in "globals()". Dieter