CDML COMMAND:[fmp-linkfirst] [fmp-linknext] [fmp-linklast] [fmp-linkprevious] 
Author Message
 CDML COMMAND:[fmp-linkfirst] [fmp-linknext] [fmp-linklast] [fmp-linkprevious]

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.

Yves

Devenir immortel et mourir



Tue, 26 Nov 2002 03:00:00 GMT
 CDML COMMAND:[fmp-linkfirst] [fmp-linknext] [fmp-linklast] [fmp-linkprevious]


Quote:

> 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.

> Yves

> 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]
records displayed).
[FMP-linkprevious]Previous page of records.[/FMP-linkprevious]
[FMP-linknext]Next page of records.[/FMP-linknext]

Paul E.



Tue, 26 Nov 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. CDML Problem: fmp-if tag within FMP-valuelist tags

2. Will FMP 4 read FMP 1?

3. Help FMP Server and FMP Pro

4. Query between FMP Server and FMP Unlimited

5. fmp server & fmp unlimited

6. FMP 5.5 and FMP 5 for the same file

7. FMP Unlimited WITHOUT FMP Server

8. FMP 5 Server vs FMP 5 file hosting, Part II

9. FMP 5 Server vs FMP 5 file hosting

10. Most effective way to setup FMP U and FMP Server

11. FMP 4 meet FMP 5

12. FMP Server vs. FMP network


 
Powered by phpBB® Forum Software