[ic] table_organize or item_alternate to display 2 columns ofdata?

Ton Verhagen tverhagen at alamerce.nl
Thu Nov 27 14:27:51 EST 2003


Quoting "Rene Hertell" <interchange at hertell.com>:
> > Okay, after revisiting the docs, I found a parameter called "columnize"
> > which I'd missed before.  But my attempts to get it working are
> > failing.  The last thing I tried was this:
> >
> >
> > [search-region
> >                  search="
> >                  ra=yes
> >                  sf=sku
> >                  fi=products
> >                  rf=category
> >                  tf=category
> >                  ml=99999
> > "]
> > [table-organize
> >       cols=2*
> >       columnize=2
> > ]
>[snip]
>
>I think that it should be columnize=1


Hi Rene,

The following code works for me:


<table>
[search-region
                  search="
                   ra=yes
                   sf=sku
                   fi=products
                   rf=category
                   tf=category
                   ml=99999
  "]

         [table-organize
             cols=2
             pretty=1
             tr.0='bgcolor="#EEEEEE"'
             tr.1='bgcolor="#FFFFFF"'
             td.0='align=right'
             td.1='align=center'
             td.2='align=left'
columnize=1
             ]
             [search-list] <td> [item-code] </td> [/search-list]
         [/table-organize]
[/search-region]
</table>

See the results: http://alamerce.nl/cgi-bin/found499/t1




Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 



More information about the interchange-users mailing list