I'm in the beginning stages of a fairly large web devlopment project. For this one, I need to store most of the zope object in the local filesystem. LocalFS knows how to store them, but I can't get it to parse the TAL stuff. I've tried making a few changes to the module source, but I really don't know what I'm doing. Any ideas? Thanks! blossom merz (Zope newbie) --
Blossom Merz writes:
I'm in the beginning stages of a fairly large web devlopment project. For this one, I need to store most of the zope object in the local filesystem. LocalFS knows how to store them, but I can't get it to parse the TAL stuff.
I've tried making a few changes to the module source, but I really don't know what I'm doing.
Any ideas? 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).
Dieter
-----Oorspronkelijk bericht----- Van: zope-admin@zope.org [mailto:zope-admin@zope.org]Namens Dieter Maurer Verzonden: woensdag 3 april 2002 23:44 Aan: Blossom Merz CC: zope@zope.org Onderwerp: Re: [Zope] LocalFS and ZPT
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?
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
participants (3)
-
Blossom Merz -
Dieter Maurer -
Roel Van den Bergh