[Zope] Including proper object from subfolders

Dieter Maurer dieter@handshake.de
Wed, 5 Mar 2003 20:52:01 +0100


Lubos Culen wrote at 2003-3-5 17:23 +0100:
 > ....
 > Let's assume we have following files in following directory structure (for 
 > example on www.site.com server):
 > 
 > site/index_html 			(DTML document)
 > site/content 			(DTML document, plain HTML)
 > site/standard_html_header 	(DTML document)
 > site/subdirectory1/content 	(DTML document, plain HTML)
 > site/subdirectory2/content 	(DTML document, plain HTML)
 > site/subdirectoryN/content	(DTML document, plain HTML)
 > 
 > 'index_html' file has for example this content:
 > <dtml-var standard_html_header>
 > <dtml-var content>
 > 
 > In 'standard_html_header' is some site header (not important for us), and 
 > 'content' in each folder is some static HTML content.
 > 
 > Now I'd like to achieve this: when user accesses the 
 > 'http://www.site.com/site/subdirectory1/' , he will get displayed the 
 > common header and the content of 'site/subdirectory1/content' file.

This is what happens by default, *if* "index_html" is a DTML Method.


Dieter