[Zope] Acquisition for bilingual site
Dieter Maurer
dieter@handshake.de
Fri, 29 Mar 2002 13:23:43 +0100
Stephan Goeldi writes:
> ... misconception about "dtml-var" and "index_html" ...
When "f" is a folder, then
<dtml-var f>
does not render "f.index_html".
The "index_html" magic is a feature (solely) of ZPublisher.
It is only effective during traversal.
The best solution is to redirect into the language specific folder.
An alternative is to use '<dtml-var "_.render(f.index_html)">'.
Note, that in this case, relative URL from may get wrong.
Dieter