[Zope] Re: Photo Product fix/question/suggestion

Gregor vorlon@iglou.com
Mon, 10 Jan 2000 23:57:54 -0500


----- Original Message -----
From: "Andrew Lahser" <andrew@apl-software.com>

Perhaps this will be a little more clear.  Here is the relevant hierarchy:

==Classes in my product section==

TrumpFolderClass
--- TrumpClass
------- index_html  **
------- [property sheet]
----------- name
----------- image
----------- description


==Objects on my site==

Trumps  (my TrumpFolderClass instance)
--- trump1_info  (TrumpClass instance, image="trump1.jpg")
--- trump1.jpg   (Photo instance)
--- trump2_info  (TrumpClass instance, image="trump2.jpg")
--- trump2.jpg   (Photo instance)


** index_html is where I'm writing this code to render the Photo.  That way,
viewing trump1_info or trump2_info loads the proper image.