Hi Can anyone please explain to me, how it's possible to make relations using ZClasses. Let's say that i would like to make a product catalog with x numbers of pictures, and sometimes no pictures. I guess it's something about making a ZClass wich can contain objects??? Regards Jens Bjerre
Jens Bjerre wrote:
Can anyone please explain to me, how it's possible to make relations using ZClasses. Let's say that i would like to make a product catalog with x numbers of pictures, and sometimes no pictures. I guess it's something about making a ZClass wich can contain objects???
In that case you can subclass an objectmanager. But if the pictures should be shared between different products this approach can be a problem. If you want to share images you should put them in their own folder and then store a list of paths in your product, to the images you want to relate to an object, or you could use the mxmRelations product. regards Max M "Skeptic Effect" or the "Randi Effect" When a skeptic is near, supernatural effects seem to disappear.
I wish to be removed from the list. I tried clicking change subscription info but it said I was not a member but I keep getting these emails from zope. thanks chris williams ----- Original Message ----- From: "Jens Bjerre" <jens@bkinformatik.dk> To: <zope-dev@zope.org> Sent: Monday, September 02, 2002 5:49 AM Subject: [Zope-dev] Relations Hi Can anyone please explain to me, how it's possible to make relations using ZClasses. Let's say that i would like to make a product catalog with x numbers of pictures, and sometimes no pictures. I guess it's something about making a ZClass wich can contain objects??? Regards Jens Bjerre _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (3)
-
chrisw_ml -
Jens Bjerre -
Max M