[Zope] Newbie Zope Question

Ixokai zope@myseraph.org
Thu, 29 Mar 2001 21:17:01 -0800


I've been looking over the Zope website, and basically like the idea that
each page should have its own folder, with a single 'index_html' in the root
directory that handles a uniform design for the rest of the site.

But, its not perfect. For instance, I want my first page to be a splash page
that doesn't conform to this uniform pattern, and I don't nessecarily want
the rest of the site to be based off of a sub-directory.

For instance, http://mydomain.org/ is a splash-screen, and I wish
http://mydomain.org/Topic1 through Topic9 to all conform to my Sitewide
Style.

I suspose I could have a http://mydomain.org/Main that is the true 'main
index' page, and put everything off of it, e.g.
http://mydomain.org/Main/Topic1 ... but that is not optimal.

Anyways, what's the best way to do this? I tried to do a minimal bit of
DTML, for instance, checking for the existance of a property (<dtml-if
OverrideIndex> <dtml-var override_html> <dtml-else> <dtml-var header>
...etc... </dtml-if>), but properties are inherited down the line, and I
would rather not have to specifically set 'OverrideIndex:0' on all of the
sub-folders.... If thats the only or best way, though, I'll deal. :)

Thanks for any help.

--Ixokai