To display a list of hyperlinks displaying more items found in a search, place one or more [ShowNext] contexts inside a [Search] context. This context is only valid inside a [Search] context, and will only be used if the search specified a max=N, and the number of found items is greater than max.
Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):
If a search returns 50 found items, and max is set to 10, then [ShowNext] loops through all the "chunks" of 10 necessary to create hyperlinks for each set of 10 items not displayed inside the [FoundItems] loop:
The following parameters can be used to modify the [ShowNext] context:
Parameter | Description |
---|---|
position
|
|
method
|
|
max
|
Optional, maximum number of "Next" links to show at one time. Useful if you want to simply show a single "More" button, rather than showing a long list of "Show 1-10," "Show 11-20," etc. links. |
The following tags are available inside a [ShowNext] context:
Tag | Description |
---|---|
[SearchString]
|
All search parameters necessary to find this "chunk" of items in the range [Start] - [End]. |
[Start]
|
A number indicating the index position of the first item that will be displayed in this range of found items. |
[End]
|
A number indicating the index position of the last item that will be displayed in this range of found items. |