[PHPTAL] How do you print a grid with tal:repeat ?

Taylor Dondich tdondich at groundworkopensource.com
Mon Feb 19 17:17:54 CET 2007


Suppose I have 13 items in my collection, and I want to print a table 
with 2 columns and as many rows as needed for my collection.  How do I 
do that?  And if the last row only has one item, how do I know to print 
the empty td element?

Anyone have any ideas or best practices for this?

Taylor



More information about the PHPTAL mailing list