nuxeo-localizer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nuxeo-localizer] Localizer w/zpt


From: Robert Rottermann
Subject: Re: [Nuxeo-localizer] Localizer w/zpt
Date: Thu, 16 May 2002 07:53:14 +0200

ZPT can not render DTML directly.
Howevewr it is easy to create the same effect.
Either create a dtml-method that does what you want and call it from zpt
like
<span "tal:replace="structure here/myProxyDtml"></span>
or call the same function you would call using dtml like:
<span "tal:replace="structure here/changeLanguageForm"></span>

robert


----- Original Message -----
From: "Frank Bennett" <address@hidden>
To: <address@hidden>
Cc: "Frank Bennett" <address@hidden>
Sent: Thursday, May 16, 2002 6:40 AM
Subject: [Nuxeo-localizer] Localizer w/zpt


> This is very likely a FAQ, but I'm stumped.
>
> I have installed Localizer 0.8.1 into a Zope 2.4 installation.
> Following the guidelines shipped with the code, I have installed
> the localizer product, created a LocalContent object, and written
> a page template.  Browser preferences change the view just as
> advertised.
>
> However, adding a tag <dtml-var changeLanguageForm> does not
> produce a selection box.  I have tried several permutations and
> ploughed through the Zope documentation, and it looks to me as
> though DTML does not render within page templates?
>
> I am also unable to find any function "changeLanguage" in the
> source -- the only reference to this name is in the DTML file
> "changeLanguageForm" -- so I haven't got a clue how to hook into
> the code to fix this.
>
> Is anyone on the list successfully using Localizer with page
> templates instead of DTML?
>
> Frank Bennett
> Faculty of Law
> Nagoya University
>
> _______________________________________________
> Nuxeo-localizer mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]