[Zope] TinyTablePlus hack to make it show in add list!!!

Matt matt@virtualspectator.com
Wed, 25 Jul 2001 16:19:36 +1200


I had to add the following to TinyTablePlus to make it show in the add
products menu on the ZCM screen.  I.e. the product installed ok and showed
up in the products fine(and not borken) but I could not find a add item for
it in the management screens.  My first thought was that zope didn't really
know that it was there to add ... so I added the following and it worked.

It may not be the right thing, but it worked.  I am using Zope 2.4.0a1

def initialize(context):
    """initialize tinytable product"""
    context.registerClass(
          TinyTablePlus.TinyTablePlus,
          constructors = (
                TinyTablePlus.addItemForm,
                TinyTablePlus.addItem,
          )
    )

regards
Matt