Re: [PHPTAL] php: modifier and path: arguments

2008-04-14 Thread Iván -DrSlump- Montes
I think to recall that variables in the php: modifier must be written without the $ prefix, so your code should be something like this: Iván On Mon, Apr 14, 2008 at 11:43 AM, B. Kamer <[EMAIL PROTECTED]> wrote: > hi > > i am wondering how to do the following. It cannot be hard but i am unble t

[PHPTAL] php: modifier and path: arguments

2008-04-14 Thread B. Kamer
hi i am wondering how to do the following. It cannot be hard but i am unble to do this execute an php function with tal path values as arguments NAME OF DOMAINb>: ${configItem/value} Invalid TALES path: ''.$ctx->ctx.'->configItem->name', expected variable name as if the path isn't avai

[PHPTAL] AGAIN : tal:attributes - semicolon bug? -> I think so

2008-04-14 Thread Nestor A. Diaz
Hello, i have the same bug/problem when dealing with semicolons in tal:attributes. Does anybody can provide some hints on how to fix it ? Thanks. Mynthon wrote: first. This is fragment from manual and it really should be corrected: "A somewhat complicated example involving tal:repeat : .

Re: [PHPTAL] AGAIN : tal:attributes - semicolon bug? -> I think so

2008-04-14 Thread Kornel Lesinski
On Mon, 14 Apr 2008 11:02:09 +0100, Nestor A. Diaz <[EMAIL PROTECTED]> wrote: Hello, i have the same bug/problem when dealing with semicolons in tal:attributes. Does anybody can provide some hints on how to fix it ? tal:attributes="style php: repeat.person.odd ? 'background: #eee;'

[PHPTAL] Re: php: modifier and path: arguments

2008-04-14 Thread Wallace McGee
From: "B. Kamer" <[EMAIL PROTECTED]> Subject: [PHPTAL] php: modifier and path: arguments i am wondering how to do the following. It cannot be hard but i am unble to do this execute an php function with tal path values as arguments NAME OF DOMAINb>: ${configItem/value} I seem to be wor