[ic] Search Results [more]

Kevin Walsh interchange-users@icdevgroup.org
Mon Sep 2 22:47:02 2002


> 
> This is going to get out of hand soon:
> 
> Matches 1-10 of 1064 found.
> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
> 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
> 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
> 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
> 103 104 105 106 107 Next
> 
> I really need to stick w/ ML=10, is it possible to only show 50 "more pages"
> and have an additional link for the next set of 100 pages in addition to the
> current selection of 100 pages?
> 
> Sounds confusing, this is what I want...
> 
> Matches 1-10 of 1064 found.
> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
> 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Next |
> Next 50 Pages
> 
> Or something to that affect.  Any help is appreciated.
> 
> Regards,
> 
You could use [decade-prev] and [decade-next] like this:

    [more-list]
    [next-anchor]Next[/next-anchor]
    [prev-anchor]Previous[/prev-anchor]
    [decade-next](next 10)[/decade-next]
    [decade-prev](back 10)[/decade-prev]
    [more]
    [/more-list]

Which should give you:

    Previous (back 10) 11 12 13 14 15 16 17 18 19 20 (next 10) Next

That would clean up your [more]-list quite a bit.

The facility is described in the "Interchange Database" manual,
section 5.11 (The Results Page).

Interchange 4.9 adds [first-anchor] and [last-anchor] to the
[more-list] options.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/