> I can't find any information on how to use these commands.
> I only want to show the first 25 items on a query using the -max=25 command.
> I also want to include a next/previous navigation button to show the next 25
> records or the previous 25 records.
> The only thing that the cdml reference is showing is
> [FMP-LinkFirst]First set of records.[/FMP-LinkFirst]
> But am I suppose to generate the first page of record using
> [fmp-record][fmp-field: xxxxx][/fmp-record] or do I use the [fmp-linkfirst]
> instead of the [fmp-record] (I've tried that and it didn't work). Where and
> how do I introduce the [fmp-linknext] and the [fmp-linkprevious].
> Tx for any input.
> Devenir immortel et mourir
You should put them at the top or bottom of the search results page. They
will generate all the code automagically depending on what your -max was
on the original request. Put them all on the page. They will show up like
this. When you are on the first page of results only the FMP-next link
will show. On the next page assuming there are more than 25 records both
the Previous and Next link will show up.
Copy this to your search results page:
You Searched For:[FMP-CurrentFind] [FMP-FindValueItem]
[/FMP-CurrentFind] Displaying records [FMP-rangestart] through
[FMP-rangeend] of [FMP-currentfoundcount] records found. ([FMP-rangesize]
[FMP-linkprevious]Previous page of records.[/FMP-linkprevious]
[FMP-linknext]Next page of records.[/FMP-linknext]