[Zope] which base class for "news"
Dieter Maurer
dieter@handshake.de
Fri, 16 May 2003 21:40:34 +0200
Andreas Pakulat wrote at 2003-5-15 22:35 +0200:
> On 15.Mai 2003 - 21:16:55, Dieter Maurer wrote:
> > Andreas Pakulat wrote at 2003-5-15 17:37 +0200:
> > > i need to have a ZClass for News-Entries, but I don't really know which
> > > Base Class to use. I need to save author, time of creation and the real
> > > news-text with it, so I first thought that I could put these into
> > > different properties and have no base class.
> >
> > That should be sufficient (indeed).
> > Of course, you should have "Include standard Zope persistent object
> > base classes" checked.
> > Beside that, you need no base classes.
>
> That I did, but had no "Properties" Tab in the manage_workspace View of
> a Instance of this ZClass and that did confuse me.
You must define a "View" in your ZClass.
The "View"s will become the tabs for the ZInstances.
Dieter