Re: [shownext]
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42250
interpreted = N
texte = >Hi,>>I've never got [shownext] to perform properly.. always come up with>workarounds, but now I need to use it.>>The problem I have is it only loads the first 5 records from the database,>and when I click the (show 6-10 | show 11-15 it loads the same first 5.) Can>anyone suggest why this might be? As far as I can tell I've followed the>documentation to the letter. Think it's a problem with my search but stuck>as to what.>>Thanks in advance.>Pat>>[search db=data/uploads.db&neuploadiddata=[blank]&max=5&rank=off]>>[ShowNext position=beginning]>
href=documents.tmpl?command=search&db=data/uploads.db&neuploadiddata=[blank>]&start=[start]>Items [start]-[end] |>>[/ShowNext]
>[foundItems]>[documentname] Format =>
>
[summary] date= [submitdate]
>[/foundItems]>> >[/search]Hi Pat,You've got several problems:1- You're using a search command in your shownext links, but you still have a search context on the same page. Get rid of one of them, preferably the search command, since contexts are more secure and less confusing.2- You do not have a startat=[startat] parameter in your search context. This is critical if you want any shownext to work, since the shownext code requires a startat parameter in the search - and its value must be set to the [start] value within the shownext context.3- There's no such parameter value as beginning in a shownext tag; it is begin or middle or end. Little syntax mistakes like this will catch you every time ... :)Try this webdna code instead, it should work properly assuming the rest of your code is okay:[search db=data/uploads.db&neuploadiddata=[blank]&max=5&rank=off&startat=[startat]][ShowNext position=begin]
Items [start]-[end][/ShowNext][/search]Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.webdna.net----------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Hi,>>I've never got [shownext] to perform properly.. always come up with>workarounds, but now I need to use it.>>The problem I have is it only loads the first 5 records from the database,>and when I click the (show 6-10 | show 11-15 it loads the same first 5.) Can>anyone suggest why this might be? As far as I can tell I've followed the>documentation to the letter. Think it's a problem with my search but stuck>as to what.>>Thanks in advance.>Pat>>[search db=data/uploads.db&neuploadiddata=[blank]&max=5&rank=off]>>[ShowNext position=beginning]>href=documents.tmpl?command=search&db=data/uploads.db&neuploadiddata=[blank>]&start=[start]>Items [start]-[end] |>>[/ShowNext]>[founditems]>[url][documentname][/url]>[documentname] Format =>
>
[summary] date= [submitdate]
>[/foundItems]>> >[/search]Hi Pat,You've got several problems:1- You're using a search command in your shownext links, but you still have a search context on the same page. Get rid of one of them, preferably the search command, since contexts are more secure and less confusing.2- You do not have a startat=[startat] parameter in your search context. This is critical if you want any shownext to work, since the shownext code requires a startat parameter in the search - and its value must be set to the [start] value within the shownext context.3- There's no such parameter value as beginning in a shownext tag; it is begin or middle or end. Little syntax mistakes like this will catch you every time ... :)Try this webdna code instead, it should work properly assuming the rest of your code is okay:[search db=data/uploads.db&neuploadiddata=[blank]&max=5&rank=off&startat=[startat]][ShowNext position=begin][thisurl]?startat=[start]>Items [start]-[end][/ShowNext][/search]Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.webdna.net----------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Converting order file to database (1998)
Great product and great job ! (1997)
Where's Cart Created ? (1997)
creating a 60 fields database (1997)
shipcost (1997)
Message Board (again:-) (2000)
Anyone have an invoicing system? (1999)
[numfound] in nested [search] (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
RE: protect tag not working (1998)
my price won't move (1997)
Date Formats (1997)
Sherlock and WebCat-2 (1998)
Webcatalog error, Plug-in for Webstar (1996)
[HIDEIF] inside [FOUNDITEM] (1997)
Unexpected error (1997)
https bs (2004)
WebCatalog/Mac 2.1b2 - PIXO (1997)
Problems getting parameters passed into email. (1997)
WebCatalog can't find database (1997)