[ic] nested loops on results page

paul jordan interchange-users@icdevgroup.org
Fri Nov 8 00:15:00 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]
>

How about:
<table>
   <tr>
[search-list]
 	<td>
 	html stuff
 	</td>
[item-alternate 3]<tr></tr>[/item-alternate]
[/search-list]
   </tr>
</table>


For the display amount use 'ml' mv_matchlimit... ml=15


Now, I would still say using table-organize is a cleaner solution,
designed for what you are doing.


Paul