any way to set default DTML document content?
From the management interface? (Without hacking Zope source, that is.) -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
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
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
Chris Ryland wrote:
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.
Ah, then the answer, sadly, is no :-S cheers, Chris
You could actually modify the "default_dm_html" attribute of the lib/python/OFS/DTMLMethod.py module to something different than it is right now if you wanted. Chris Withers wrote:
Chris Ryland wrote:
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.
Ah, then the answer, sadly, is no :-S
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Have a look at: http://www.zope.org/Dynamic_Hotfix On Fri, 08 Jun 2001, Chris Ryland wrote:
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
participants (4)
-
Arno Gross -
Chris McDonough -
Chris Ryland -
Chris Withers