[ic] Displaying Items in Rows

Ton Verhagen interchange-users@interchange.redhat.com
Mon Dec 24 10:26:01 2001


Made a little mistake in my previous posting.

Using the rows option in the table-organize tag implies the table parameter!
So, ommit the <table></table> tags in the html code and add:

           table='width="80%" cellpadding=0 cellspacing=0'

to the table-organize tag. See below.

[snip]

         [table-organize
                 cols=3
                 rows=3
                 pretty=1
                 table='width="80%" cellpadding=0 cellspacing=0'
                 tr.0='bgcolor="#EEEEEE"'
                 tr.1='bgcolor="#FFFFFF"'
                 td.0='align=right'
                 td.1='align=center'
                 td.2='align=left'
                 embed=lc
         ]
         [loop search="fi=products/st=db/ra=yes/ml=9" more=1]
                 <td>
                         <TABLE border=1 width=90%>
                         <TR><TD><b>[loop-code]</b></TD></TR>
                         <TR><TD>[loop-description]</TD></TR>
                         <TR><TD align=right>[loop-price]</TD></TR>
                         </TABLE>
                 </td>
                 [more-list][more][/more-list]
         [/loop]
         [/table-organize]


Regards,

Ton