[ic] nested loops on results page

Grant interchange-users@icdevgroup.org
Fri Nov 8 11:55:01 2002


>> Check out [item-alternate].
>
>thankyou for all of your suggestions. I did get it to do pretty much what
>i wanted using item-alternate. it did, however, produce a couple of
>unexpected 'side effects'.
>
>1) for the life of me i can't figure out how to set the default number of
>returns per page from 50 to a nice number that divides well by three, like
>say, 15.
>
>2) it also produced unexpected "holes" in the table structure on following
>pages, which looking at the html code, might have something to do with the
>fact that things are not dividing evenly.
>
>
>
>what i've got is something like:
>
>[item-alternate 3]
>	<td>
>	html stuff
>	</td></tr><tr>
>[else]
>	<td>
>	html stuff
>	</td>
>[/else]
>[/item-alternate]
>
>all inside of the [search-list]
>
>
>
>cheers,
>sach

Try something like this:

<tr>
[search-list]
<td>CONTENT</td>
[item-alternate 3]</tr><tr>[/item-alternate]
[/search-list]
</tr>

and put ml= some number that divides by 3 in your search.  That's match
limit.

- Grant