Re: Help getting [shownext] to increment

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47290
interpreted = N
texte = Joe R. Richardson wrote: > I'm getting groggy trying to get [shownext] to work. It's all a blur now and > perhaps someone could take a look at the code below and the site > and tell me why [shownext] > won't increment the found items. > > Thanks for the help.Simply put, [shownext] requires the original search to include both the max and start paramaters, and it _does not_ require an additional command=search. I don't know that you can even have a working [shownext] starting from within an embedded [search] context, but I don't see why not. Change your code like this:[search db=catalog.db&eqDepartmentdatarq=[url][Department][/url]&max=5&start=1] .... [shownext] Show items [start]-[end]
[/shownext] ....The [Searchstring] will contain _everything_ that is needed to perform the search, including the command=search. View source if you don't believe me...SMSI!!! THIS IS A LONGSTANDING ERROR IN THE DOCUMENTATION AND IT WILL CAUSE MOST WEBSERVERS TO CRASH AFTER JUST A FEW BACK AND FORTH SEARCHES (THE URL BUFFER IS RARELY MORE THAN 2048 BYTES). FIX THE DOCS!!!!!!!John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Help getting [shownext] to increment (Marko Bernyk 2003)
  2. Re: Help getting [shownext] to increment (Marko Bernyk 2003)
  3. Re: Help getting [shownext] to increment (Kenneth Grome 2003)
  4. Re: Help getting [shownext] to increment (Donovan 2003)
  5. Re: Help getting [shownext] to increment (John Peacock 2003)
  6. Re: Help getting [shownext] to increment (Donovan 2003)
  7. Re: Help getting [shownext] to increment (Joe R. Richardson 2003)
  8. Re: Help getting [shownext] to increment (Joe R. Richardson 2003)
  9. Re: Help getting [shownext] to increment (John Peacock 2003)
  10. Re: Help getting [shownext] to increment (Kenneth Grome 2003)
  11. Re: Help getting [shownext] to increment (John Peacock 2003)
  12. Help getting [shownext] to increment (Joe R. Richardson 2003)
Joe R. Richardson wrote: > I'm getting groggy trying to get [shownext] to work. It's all a blur now and > perhaps someone could take a look at the code below and the site > and tell me why [shownext] > won't increment the found items. > > Thanks for the help.Simply put, [shownext] requires the original search to include both the max and start paramaters, and it _does not_ require an additional command=search. I don't know that you can even have a working [shownext] starting from within an embedded [search] context, but I don't see why not. Change your code like this:[search db=catalog.db&eqDepartmentdatarq=[url][Department][/url]&max=5&start=1] .... [shownext] Show items [start]-[end]
[/shownext] ....The [Searchstring] will contain _everything_ that is needed to perform the search, including the command=search. View source if you don't believe me...SMSI!!! THIS IS A LONGSTANDING ERROR IN THE DOCUMENTATION AND IT WILL CAUSE MOST WEBSERVERS TO CRASH AFTER JUST A FEW BACK AND FORTH SEARCHES (THE URL BUFFER IS RARELY MORE THAN 2048 BYTES). FIX THE DOCS!!!!!!!John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://webdna.smithmicro.com/ John Peacock

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:

Looking up two prices in database? (1997) change the number format (1997) About WebCatalog and iTools 7 (2003) webcatalog plugin bug - webstar refusing connections (1999) [WebDNA] Issue with variable inside a Function (2018) WebCat2final1 crashes (1997) Separate SSL Server (1997) New NT betas available (1997) sorting by date (1999) RE: Missing contexts on NT (1997) Webcat OSX (2001) Possible Bug in 2.0b15.acgi (1997) Missing Cart Information (2003) Summing fields (1997) Version 2.0 and 1.6 simultaneous (1997) [WebDNA] possible bug? (db field named [width]) (2012) WebCat2: Found Items syntax, etc. (1997) Using Plug-In while running 1.6.1 (1997) thisurl & arguments (2000) Single Link browsing (1997)