Forums / Developer / delimiter modulo / Comment40348
Bård Farstad
Thursday 29 April 2004 4:21:49 am
Try this one:
<table border="1"> <tr> {section var=item loop=10} <td>Cell nr {$item} </td> {delimiter modulo=1} {section show=$item.number|mod(2)|eq(0)} <td> </td> {section-else} </tr> <tr> {/section} {/delimiter} {/section} </tr> </table>
--bård
Documentation: http://ez.no/doc