Re: [SMARTY] Multi-Column {section}
| From: | Monte Ohrt | Date: | Wed, 05 Feb 2003 20:57:08 +0000 |
| Subject: | Re: [SMARTY] Multi-Column {section} | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7533@lists.php.net to get a copy of this message | ||
This works well too:
http://www.mapledesign.co.uk/coding/smarty_table.php
On Wed, 2003-02-05 at 14:49, WiL Laxa - Blender Media wrote:
> Im trying to output records using {section} into 3 table columns
> Is there anyway of doing this?
>
> _________________________________
> | item1 | item2 | item3 |
> ---------------------------------
> | item4 | item5 | item6 |
> ---------------------------------
> | item7 | item8 | item9 |
> ---------------------------------
>
> instead of
>
> <table>
> <!--|section loop=$list_records name=record|-->
> <tr>
> <td><!--|$list_records[record].contents[content].name|--></td>
> </tr>
> <!--|/section|-->
> </table>
> _________________________________
> | item1
> ---------------------------------
> | item2
> ---------------------------------
> | item3
> ---------------------------------
> | item4
> ---------------------------------
> | item5
> ---------------------------------
> | item6
> ---------------------------------
>
> Any ideas? I checked out smarty.php.net but I couldn't find anything on
> it...
>
>
> WiL Laxa
> BlenderMedia
> Web: www.blendermedia.com
>
>
--
Monte Ohrt <monte@ispi.net>