[Zope] any cleaner or cleverer way of inclusion ?

Jaroslav Lukesh lukesh at seznam.cz
Mon Aug 18 12:31:15 EDT 2003


> Odesílatel: Can Burak Cilingir <canburak at knuth.cs.bilgi.edu.tr>
> 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>)
> 
> when i add "my_index" at the "main" (<dtml-var my_index>)and call say 
> "http://xxx/Something/Otherthing", i saw "my_index" which is at the root,

> not the one inside "Something/Otherthing".

Easy :-)

You need to call folder "Otherthing", not a page "Otherthing" 8-)

http://xxx/Something/Otherthing/
                               ^

Regards JL.




More information about the Zope mailing list