[ic] How does [More] work?

Kaare Rasmussen interchange-users@interchange.redhat.com
Thu Aug 23 05:17:01 2001


I have a [perl] section building $Scratch->{journals}. Later on that page
is this construction

[loop more=1 ml=10 list=`$Scratch->{journals}`]
[list]
      <TR VALIGN=TOP>
       <td SIZE="10%"></td>
       <td bgcolor="#FEEDD2" align="center">
         <input type="radio" value="[loop-increment]"
name="select_journal">
        </TD>
       <td bgcolor="#FEEDD2" align="left">
         [loop-pos 1]
        </TD>
...
      </TR>
[/list]
[more-list]
<BR>
[more]
[/more-list]
[/loop]


This works very well up to 10 items. When there's more items in the list, I
see the usual more list ("1 2 Next"), but then the problem starts.

When pushing "2" or "Next" to get to item 11 and up, I just get the same
page with items 1 to 10.

How do I tell it to go to the next page? In a normal loop this works
automatically. I believe the trouble is with the
list=`$Scratch->{journals}` option.

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               Åben 14.00-18.00        Web:      www.suse.dk
2000 Frederiksberg        Lørdag 11.00-17.00       Email: kar@webline.dk