Changing default content for DTML Documents?
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? Alex.
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
Alex Coventry wrote at 2003-8-11 17:44 -0400:
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.
This would be a bug (it is invalid DTML). Fix the code and file a bug report. Dieter
participants (3)
-
Alex Coventry -
Dieter Maurer -
Maik Jablonski