[Zope-CMF] error on renaming a custom content type

Florent Guillaume fg@nuxeo.com
Sat, 3 Aug 2002 15:37:43 +0000 (UTC)


Aaron Payne  <aaron@aaronpayne.com> wrote:
> > The real question is, why don't you use CMFDefault.Image?
> 
> I used CMFCalendar as a template for my new skin. I went through each py 
> file and edited it to fit my new class.   Once  I had a working skin, I 
> needed to add image support. I looked at CMFDefault.Image and found that 
> it subclasses OFS.Image.Image as well as the other cmf classes 
> PortalContent, DefaultDublinCoreImpl.
> 
> In doing that, would I just subclass CMFDefault.Image and remove 
> PortalContent, DefaultDublinCoreImpl since CMFDefault.Image includes 
> those subclasses?  I'm going to give this a shot.

Yes, simply CMFDefault.Image. It should do all you need.

If you still see a bug, then there's a problem, and you'll have to post
your code so that we can check it.

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com