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 to
> do this
>
>  execute an php function with tal path values as arguments
>
>  NAME OF DOMAIN:
> ${configItem/value}
>
>  Invalid TALES path: ''.$ctx->ctx.'->configItem->name', expected variable
> name
>
>  as if the path isn't available in an php: modifier
>
>  thank
>
>  Bas
>
>  ___
>  PHPTAL mailing list
>  PHPTAL@lists.motion-twin.com
>  http://lists.motion-twin.com/mailman/listinfo/phptal
>

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


[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 available in an php: modifier

thank

Bas

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