[Zope-CMF] (no subject)

Robert Rottermann robert@redcor.ch
Wed, 13 Jun 2001 22:04:16 +0200


I do it like that, if there's a better way I duno

      self._setObject(id, tempExtFile)
      if hasattr(tempExtFile, '_setPortalTypeName'):
          tempExtFile._setPortalTypeName("Redman")

(partly copied from your code as you can see)

robert

----- Original Message -----
From: "seb bacon" <seb@jamkit.com>
To: <zope-cmf@zope.org>
Sent: Wednesday, June 13, 2001 9:40 PM
Subject: [Zope-CMF] (no subject)


> I'm just trying to package up my proof of concept for the email-it-in
> proposals.  In the __init__.py of my product, which I've based on that
> of CMFCalendar / CMFTopic, I'm calling utils.contentInit().
>
> Everything works fine, apart from the 'Product name' field for the
> Types in portal_types.  This says 'CMFDefault' but I want it to say
> 'JamkitTypes'.  Where does the tool get this info from?  Can I make it
> happen automatically?  Did I explain that at all well?
>
> Cheers,
>
> seb
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>