29 Mar
2002
29 Mar
'02
12:23 p.m.
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