[Zope] any cleaner or cleverer way of inclusion ?

Dieter Maurer dieter at handshake.de
Mon Aug 18 21:31:03 EDT 2003


Can Burak Cilingir wrote at 2003-8-18 09:04 +0300:
 > i read about zope for my problem but could not find any solution which 
 > seems logical to me.
 > 
 > i have a folder hierarchy which has "index_html(dtml doc)", 
 > "left(dtml mtd)", "main(dtml mtd)" etc in the root folder, and 
 > "my_index(dtml method)" in all folders. (index_html has <dtml-var 
 > left><dtml-var main>)

Make your "index_html" a DTML Method (rather than a DTML Document).
This may solve your problem.

As a general rule: avoid DTML Document unless you know
precisely why your want to use them.


Dieter



More information about the Zope mailing list