[Zope] Creating products

Dylan Reinhardt zope at dylanreinhardt.com
Sun Aug 17 18:54:47 EDT 2003


On Sun, 2003-08-17 at 06:45, Dustin Mitchell wrote:
> I can't seem to find the straight dope on this one in the
> documentation.  

Yeah... once you get the recipe right, it's smooth sailing though.

Your problem probably stems from one (or more) of the following:
1. The product isn't installed correctly
2. Your classes aren't registered correctly
3. Your product isn't compiling

First off, is the product should consist of a folder with a main module
and an initialization module called __init__ (if you don't have one of
these, look at the Boring product for a good template).  

If you haven't done so already, add an empty file to your product folder
called refresh.txt.  This will add a "refresh" tab to your product
management screens and will greatly facilitate debugging.

You will need to restart Zope for it to "see" a newly-added product.

Having done that, are you able to see the product in the Products folder
of the Control Panel in the ZMI?  Does it have a "broken" icon?  What do
you see if you open the product's management screens?  Look at its
refresh screen?

Check that out, take note of any tracebacks and let us know what you
see.

HTH

Dylan





More information about the Zope mailing list