I'm doing a
<div tal:repeat="item items"> Previous id: ??? Current id: ${item/id} Next id: ??? </div> Is there any way to add a callback function that will be called on each repeat, so I could easily put the next and previous id ? I could loop through the array in PHP, before assigning to PHPTal object, and set them. But that would mean looping through the array twice (once before, once for output)... _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal