[Zope] Acquisition for bilingual site
Stefan H. Holek
stefan@epy.co.at
Wed, 03 Apr 2002 14:55:15 +0200
At 29.03.2002 13:23 +0100, Dieter Maurer wrote:
>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.
You *can* do the above with CallableFolders
http://www.zope.org/Members/shh/CallableFolder
grz
Stefan
--
BLOWFISH n. - Preference for beef