[ZPT] trying to write an image folder page...

Jamie Heilman jamie at audible.transient.net
Sun May 25 14:35:11 EDT 2003


This came up earlier this month.
http://mail.zope.org/pipermail/zpt/2003-May/004532.html

<table tal:define="items python:photos.objectValues('Image');width python:4">
<tr tal:repeat="j python:range(0, len(items), width)">
 <td tal:repeat="i python:items[j:j+width]" tal:content="structure i"></td>
</tr>
</table>

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"We must be born with an intuition of mortality.  Before we know the words
 for it, before we know there are words, out we come bloodied and squalling
 with the knowledge that for all the compasses in the world, there's only
 one direction, and time is its only measure."		-Rosencrantz



More information about the ZPT mailing list