[Zope] Re: Changing default content for DTML Documents?

Maik Jablonski maik.jablonski at uni-bielefeld.de
Tue Aug 12 01:44:48 EDT 2003


Alex Coventry wrote:
> Hi.  The default content for DTML Documents is incompatible with Epoz.
> If you point Epoz at a newly created document, and click submit, the
> result is the error 'Invalid attribute name, "standard_html_header", for
> tag <dtml-var standard_html_header="">, on line 1 of test.'  To get
> around this, I would like newly created documents to start with no text.
> Is there an easy way to do this, short of changing Zope's source?

Have a look at AbracadbraObject:

http://www.zope.org/Members/mjablonski/AbracadabraObject

AO is a factory which allows you to create modified content-types from 
existing content-types.

Cheers, Maik





More information about the Zope mailing list