[Zope-CMF] CMF type question
Carl Rendell
cer@sol43.com
Sat, 25 May 2002 10:04:22 -0700
On Friday, May 24, 2002, at 09:00 AM, Kevin Carlson wrote:
>
> Anyone know of a CMF type that is a cross between File and Document?
> Something that can have structured text associated with it and
> also have an
> upload file such as a PDF?
I don't know of one off the top of my head, but it is not difficult
to create one.
You're basically adding a new property to the File product (a text
field), and have two choices -
o Create a ZClass based product with CMFDefault: File as the base class
o Create a new product which inherits from the CMFDefault File product.
ZClasses are easier to get going, but as I've found are a mess to
deal with later on.
This one is pretty simple because you're only adding the single
property to a standard CMF product.
Hope that helps,
~C
Carl E. Rendell
Solution43
Information Distribution Consulting | "Ahhhh the power of
cer@sol43.com | acquisition" - Chef Z