I have a question on the same topic but with somewhat different details.
<div tal:repeat="item collection">
<div tal:content="php: someFunction(item.id)></div>
That doesn't work for me. The only way to get what I want is to use
tal:define to define a variable set to item.id and pass it to the function.
Is there a simpler way? Is this a bug?
PHPTAL mailing list