[Zope] zope products with associated folders

Dieter Maurer dieter at handshake.de
Wed Mar 10 16:29:42 EST 2004


Stephen Rudd BIOINF wrote at 2004-3-9 22:44 +0200:
>I have a slowly maturing Zope product that is now associated (thanks John) with
>a folder like object through OFS.ObjectManager. What would be the 'right' way to
>read text or DTML from a known object within the project's Zope folder into the
>product.

You can use "App.ImageFile.ImageFile" (it has "Image" in its name
but it works for files, too) for files
and "Globals.DTMLFile" for DTML.

>I am working on a product that will perform some bioinformatics tricks with data
>in a database and would like users to be able to modify the templates for how
>data is displayed, and to allow for the intergration of project specific
>acknowlegement tags.

But these are better kept in the ZODB where they can be changed
TTW (Through The Web) then in the file system.

-- 
Dieter



More information about the Zope mailing list