mprime Posted July 8, 2002 Posted July 8, 2002 I have a client with a database inventory online. using CDML. I have a main search.htm page that searches based on product type. that shows a results list. The from the results list you can click on a product and view that product. pretty simple and straight forward. NOW how using CDML that works since I have tried all the "Filemaker Solutions" (that have not worked) do I get it to go to the next record in found set from that final detailed product page? I do not want to use frames or Javascript is this not possible through CDML?
Keith M. Davie Posted July 8, 2002 Posted July 8, 2002 Guessing game. >from the results list you can click on a product and view that product Here, I guess, you are using fmp-linkrecid. >how ... do I get it to go to the next record in found set What found set. Your last action took you to one record (a found set of one) I believe.
Vaughan Posted July 8, 2002 Posted July 8, 2002 Have you got the CDML Reference database? It lists all the CDML tags... the one you want to read about is [FMP-LinkNext]
mprime Posted July 9, 2002 Author Posted July 9, 2002 Yup Ive been throught the reference and that doesnt work
The Bridge Posted July 9, 2002 Posted July 9, 2002 This is entirely off the top of my head, but it's worth a shot. I'm guessing that your problem lies within the link from the list of records to the record detail. In your listing, try something like this: [FMP-Record] <a href="[FMP-Link:rkm]&-Format=Detail.html&-Skip=[FMP-CurrentRecordNumber]&-Max=1">[FMP-Field: FieldName]</a> [/FMP-Record] The [FMP-Link:rkm] will insert the link that found the current list, but return the details page (where FMP-LinkNext and FMP-LinkPrevious should work now), one record at a time, starting with the current record. Give it a try and let me know how it goes.
Vaughan Posted July 9, 2002 Posted July 9, 2002 I think Keith may have hit the nail on the head... it's your process that's stopping the LinkNext tag from working. You've got to follow the find-results-detail process. Take a look at the sample HTML format files to see how it works. Otherwise you're going to have to start tracking criteria with multiple tokens or cookies, and it all gets terribly difficult and complicated very quickly.
Recommended Posts
This topic is 8164 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now