[Zope] Can I change the default document to index.html???

Mike Renfro renfro@tntech.edu
Fri, 7 Sep 2001 15:44:47 -0500


On Fri, Sep 07, 2001 at 01:05:04PM -0700, Walter Miller wrote:

> No, but it's an extra step to go back after every new folder and
> create a default.html DTML document instead of just selecting
> 'create a public interface'.

You must have a different need for changing the default document than
I was expecting. Normally, I'd assume that people who didn't want
index_html would be people who'd be managing their HTML content via
some PC-based authoring tool (Netscape Composer, Frontpage, etc.) --
if that were the case, then:

- you might create a folder, tell the HTML author about it, and say
  "here, fill it up with the content". They use default.htm,
  index.html, or whatever as their default document, and your
  high-placed index_html method renders that content.

- you don't explicitly create folders at all, and tell your HTML
  authors to upload their content via FTP, Webdav, whatever. Again,
  they use default.htm, index.html, or whatever as their default
  document, and your index_html method renders that content. The only
  difference from above is that they'd create their own folders as
  needed.

You're apparently doing neither of these, to my understanding. Either
that, or I'm really garbling your intent.

One other possibility that came to mind is whether or not you're
creating this high-level index_html as a DTML document, or as a DTML
method. If you create it as a document, it's my understanding that it
won't render the default.htm document from the proper location.

So I guess one of my questions is why are you creating a default.htm
document yourself in the Zope management interface?

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu