[Zope] any cleaner or cleverer way of inclusion ?

Jaroslav Lukesh lukesh at seznam.cz
Tue Aug 19 09:36:42 EDT 2003


> Odesílatel: Can Burak Cilingir <canburak at knuth.cs.bilgi.edu.tr>
> > I think this is because index_html is a dtml document. Try replacing
> > it with a dtml method.
> 
> thanks ! thats my answer because it doesn't differ for me if it is a 
> method or document (at least for now). i choosed as document because i 
> feel this is a document instead of a method. because it is the main 
> "document" or default "document". just as the traditional apache name. :)
> 
> now i just have <dtml-var my_index> and i am more comfortable. :)
>  
> > http://old.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo

Hi,

shortly: use document if you have share informations from folder where
document present. Use Method if you want get from folder where you have
request.

Regards JL.




More information about the Zope mailing list