Re: [Zope] Container Class questions
In article <[EMAIL PROTECTED]>, Dieter Maurer <[EMAIL PROTECTED]> writes >[EMAIL PROTECTED] writes: > > product with associated image > > Should I create a product that can contain said images? If so, how do > > I do this? Should I simply force a naming conventions for the images > > and tie them together with the sample catalog items that way? >I would use a ZClass to model the product. >I would inherid from "Folder". This makes the ZClass folder-like. >Especially, I can place images and other related objects inside >them (if they do not easily fit in properties). > > >Dieter I'm doing something similar to this inheriting from folder. I would like to add properties in a property sheet, but cannot find a neat way to see the properties on the base object and on the propertySheet. So I would like my properties to show id title and the properties on my basic properties sheet. I can easily add properties directly to the object during the Thing_add and Thing_addForm and these appear on the properties tab for added objects. How do I get a tab for the property sheets? -- Robin Becker ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Container Class questions
[EMAIL PROTECTED] writes: > product with associated image > Should I create a product that can contain said images? If so, how do > I do this? Should I simply force a naming conventions for the images > and tie them together with the sample catalog items that way? I would use a ZClass to model the product. I would inherid from "Folder". This makes the ZClass folder-like. Especially, I can place images and other related objects inside them (if they do not easily fit in properties). Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Container Class questions
A hopefully simple Zope question from a relative newbie: This is for a project desiged to demonstrate the power of Zopish content management to potential customer, and right now I'm trying to create a simple product with a few attributes and that can contain (or be associated with) an image. Not all products will have associated images. The general idea is to create a catalog of items that potential customers can manipulate as if it was thiers. I can easily create a product like the CD class demonstrated in the Zope documentation. I can iterate over all of my catalog items and display all the attributes I give them. But I'm at a bit of a loss about how to associate an image with my sample catalog objects. Should I create a product that can contain said images? If so, how do I do this? Should I simply force a naming conventions for the images and tie them together with the sample catalog items that way? Can anyone out there point me towards a good source of documentation for this sort of thing? Many thanks for any help, //glw ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Container Class questions
A hopefully simple Zope question from a relative newbie: This is for a project desiged to demonstrate the power of Zopish content management to potential customer, and right now I'm trying to create a simple product with a few attributes and that can contain (or be associated with) an image. Not all products will have associated images. The general idea is to create a catalog of items that potential customers can manipulate as if it was thiers. I can easily create a product like the CD class demonstrated in the Zope documentation. I can iterate over all of my catalog items and display all the attributes I give them. But I'm at a bit of a loss about how to associate an image with my sample catalog objects. Should I create a product that can contain said images? If so, how do I do this? Should I simply force a naming conventions for the images and tie them together with the sample catalog items that way? Can anyone out there point me towards a good source of documentation for this sort of thing? Many thanks for any help, //glw ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )