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:
RE: Can a database get stomped by simultaneous access? (1997)
WC1.6 to WC2 date formatting (1997)
Fun with dates (1997)
WebCat2 several catalogs? (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
searching problem (1998)
OFF-TOPIC: Stop reloading SRC page from cache ... (2003)
WebCat2 Append problem (B14Macacgi) (1997)
Aquick question about replace (1999)
Expiration of Carts (1997)
random images (1997)
OT: Unix Geek Needed (2005)
[subTotal] pricefield in another database !? (1998)
Uh...can someone help me out with the b10? (1997)
Online reference (1997)
RequiredFields template (1997)
New Plug-in and Type 11 errors (1997)
Processing all html files through WebCat or Typhoon (1998)
emailer w/F2 (1997)
Re:2nd WebCatalog2 Feature Request (1996)