I think to recall that variables in the php: modifier must be written
without the $ prefix, so your code should be something like this:

<b tal:content="php: strtoupper( configItem.name )">

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
>
>  <b tal:content="php: strtoupper(${configItem.name})">NAME OF DOMAIN</b>:
> ${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

Reply via email to