[Zope-dev] Relations

Max M maxm@mxm.dk
Mon, 02 Sep 2002 14:36:43 +0200


Jens Bjerre wrote:

>Hi
> 
>Actually for this project, i would like to just store the pictures
>"under" the "product", and then have some kind of DTML-Method to show
>the product with the pictures.
>
Then you should just create a zClass and subclass Objectmanager as the first class. You can also choos subbobjects to have the meta_type 'Image' so that only images can be put into the folder.

But I would _strongly_ recommend that you use a Python Product instead of a zClass.

See mxm_EasyProduct at:
http://www.zope.org/Members/maxm/HowTo/easyProduct

which is able to do everything you want to from the get-go.


Hav en god dag!


regards Max M

      
    ><evolve>
      >    >