[PHPTAL] php: modifier and path: arguments

B. Kamer post at bushbaby.nl
Mon Apr 14 11:43:41 CEST 2008


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



More information about the PHPTAL mailing list