Re: How to do two column list using section?
| From: | Monte Ohrt | Date: | Sun, 04 Mar 2001 15:49:40 +0000 |
| Subject: | Re: How to do two column list using section? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-290@lists.php.net to get a copy of this message | ||
yep, you're right. I think they get the idea though.
Andreas Kossmeier wrote:
> hi monte,
>
> Monte Ohrt wrote:
> > [...] {elseif %list.index% even by 2}
> > {* record even by 2, start a new row *}
> > </tr><tr>
> > {/if} [...]
>
> ok. i think you meant the following ;-)
>
> {elseif %list.rownum% is div by 2}
> {* record rownumber is divisable by 2, start a new row *}
> </tr><tr>
> {/if}
>
> andreas
>
> --
> andreas kossmeier
> bergfex.at - http://www.bergfex.at
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/