[Zope] any way to set default DTML document content?

Chris Ryland cpr@emsoftware.com
Fri, 8 Jun 2001 10:42:29 -0400


Thanks. Actually, I wanted to modify the DTML document content that's
automatically instantiated when you create a new DTML document from the
management interface.
--
Cheers!
Chris Ryland
Em Software, Inc.
www.emsoftware.com

----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Chris Ryland" <cpr@emsoftware.com>
Cc: <zope@zope.org>
Sent: Friday, June 08, 2001 10:37 AM
Subject: Re: [Zope] any way to set default DTML document content?


> Chris Ryland wrote:
> >
> > >From the management interface? (Without hacking Zope source, that is.)
>
> Yes, add a DTML method called index_html as follows into the root of your
ZODB:
>
> <dtml-var your.name.here>
>
> Simple, graceful and cool. We use the following a lot:
>
> <dtml-var index.html>
>
> cheers,
>
> Chris