[Templates] Query on Table plugin

Beginner dermot at sciencephoto.co.uk
Fri Nov 2 11:55:30 GMT 2007


On 1 Nov 2007 at 10:51, Josh Rosenbaum wrote:

> Beginner wrote:
> [SNIP]

> > 
> Does this not work for you?
> 
> <table>
>     [% USE table(src, rows=3, pad=0) %]
>     [%  FOREACH col = table.cols %]
>      <tr>
>         [% FOREACH item = col %]
>             <td><img src="[% item.img %]"></td>
>          [% END %]
>       </tr>
>      <tr>
>         [% FOREACH item = col %]
>             <td>[% item.name %]</td>
>          [% END %]
>       </tr>
>     [% END %]
> </table>
> 
> -- Josh

Yes it does. Thanx Josh.
Dp.





More information about the templates mailing list