[Zope] specifying a different default view than index_html

Trevor Toenjes zope@toenjes.com
Sun, 16 Sep 2001 00:12:12 -0400


> Here's the situation: I have a hierarchy of folders.  I want
> everything except the root to share a common index_html.

Mitchell,
Having to figure this out for myself recently...I would go with your initial
solution.
You can still place ALL your methods (except index_html) in root, so the
whole site including root can acquire them globally.
You can kill your entry-page isolation in the future without having to undo
a patched default method or mess with dtml-if's.

example:

root folder  www.foo.com
-index_html
-all other global DTMLMethods
-site (or main) folder  www.foo.com/main -
    |-index_html
    -folder1
    -folder2
    -folder3...

-Trevor