[ZPT] eliminated path expressions:
Lalo Martins
lalo@hackandroll.org
Fri, 25 May 2001 12:45:36 -0300
On Fri, May 25, 2001 at 10:17:41AM -0400, Evan Simpson wrote:
> From: "Geir Bækholt" <geirh@funcom.com>
> > is there any simple way to display template/title if it contains anything,
> and here/title if not ?
>
> tal:replace="python:path('template/title') or path('here/title')" will do
> it.
Which obviously can be more inteligibly written as
tal:replace="python:template.title or here.title"
[]s,
|alo
+----
--
I say a prayer now our love's departed
That you'll come back to stay
Bring back the perfect day
http://www.laranja.org/ mailto:lalo@laranja.org
pgp key: http://www.laranja.org/pessoal/pgp
Brazil of Darkness (RPG) --- http://www.BroDar.org/