Hello all: I'm newby with zope... I want create a Product for example named "Factory" that includes another Products like Machines, Tasks, etc... But I don't want that these Products (Machines, Tasks, etc) to be "addables" in the Add List, only the Factory... How I can do this? It's posible? For now, I have created a Product Factory and a normal python class named Machines, but I don't want this... Thanks...
+-------[ Antonio Beamud Montero ]---------------------- | Hello all: | I'm newby with zope... I want create a Product for example named | "Factory" that includes another Products like Machines, Tasks, etc... | But I don't want that these Products (Machines, Tasks, etc) to be | "addables" in the Add List, only the Factory... How I can do this? | It's posible? Don't register them in your __init__.py Add them to your all_meta_types tuple. There is some other magic to get the icons working, but, there are recipes for this stuff over at http://www.zopelabs.com/ -- Totally Holistic Enterprises Internet| | Andrew Milton The Internet (Aust) Pty Ltd | | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
participants (2)
-
Andrew Kenneth Milton -
Antonio Beamud Montero