[ic] Rearranging the results page

Paul Jordan interchange-users@interchange.redhat.com
Wed May 29 18:33:01 2002


> I have been trying all day to rearange the results page to have a
> table with 5
> coulmns and 4 rows. All I want in each cell is the products
> thumbnail,SKU,Name
> and price. I have succesfully narrowed down the results to the
> proper content
> but I cant for the life of me figure out how to make the table
> that I desire..
> here is the code that I have for the results.html content right now:
>
> [search-list]
>
> [item-change 1][condition][item-field category][/condition]
> <td>&nbsp;[either][value banner_text][or][item-field
> category][/either]</td>
>
> [/item-change 1]
>
>
> <td valign="middle">
> <div align="center"><a href="[area [item-code]]"><img border="0"
> src="thumb/
> [item-code]_s.jpg"></a> <br>
>
> <INPUT TYPE=hidden  NAME="mv_order_item"  VALUE="[item-code]">
> <a href="[area [item-code]]">[item-description]</a><br>
>
> [item-code]<br>
>
> [item-price]
> </div></td>
>
>
> [/search-list]
>
>

Look at item-alternate for the easiest implementation. There are many posts
in the archives about this. There is also a table-organize tag that was
built specifically for this.

With PREFIX-alternate you can basically say that on foo iterations, do this,
and maybe do "this" can be a </tr><tr> and seal the deal with a on-match
</tr>  or somehting like that...


HTH

Paul