On 04-09-2008 at 10:12:37 Christoph Frick <[EMAIL PROTECTED]> wrote:

But it causes error "Unable to find path number in current scope". Is
this possible to make such a condition?

I know I could generate in PHP something like item/isThird but I wish
to keep my PHP code clean from such hacks.

you try to divide the numbers (/ is interpreted by php). use dots
instead.
number, key, ... might even be functions thus adding () at the might be
needed (i am not sure, if this still the case with phptal).

For repeat object you must use only ".", without "()".

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to