Re: [ShowNext]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11918
interpreted = N
texte = >Hi > >I'm using this piece of WebDNA and which ever of the show next items >links I click on I still get the first 25 items again! Any ideas? > >If you want to see it in action, got www.ShopsOnTheNet.com, click the >search button in the left hand frame and then click on Browse full list >(alphabetical) below the main search form. > > >[Search db=shops.db&createdtype=date&grcreateddata=Mar 01 >1995&namesort=1&max=25] > > Found [NumFound] entries:
> > [ShowNext position=begin] > Show items >[start]-[end]
> [/ShowNext] > > > > > [ShowNext position=end] > Show items >[start]-[end]
> [/ShowNext] > >[/Search] You keep getting the same results because you're doing two searches. First you're searching according to the search string in the [shownext] context, then you're searching again by performing the search inside the [search context at the top of the page.Only the last search results are shown, and since the last search is the predefined context search, you will always get the same results unless you change the search context every time it searches.Try adding &startat=[start] to your search context, then get rid of the $search command and the [searchstring] tag inside the shownext context, and replace those items with &startat=[start]. Here's what I mean:[Search db=shops.db&createdtype=date&grcreateddata=Mar 01, 1995&namesort=1&max=25&startat=[start]][ShowNext] Show items [start]-[end]
[/ShowNext]This lets the search context always perform the search, and it resets the [startat] value to match the value of [start] that appears in the shownext context ... :)Sincerely, Ken Grome WebDNA Solutions Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  2. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  3. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  4. Re: [WebDNA] New problem with [ShowNext] ("Dan Strong" 2010)
  5. Re: [WebDNA] New problem with [ShowNext] (Govinda 2010)
  6. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  7. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  8. Re: [WebDNA] New problem with [ShowNext] (Kenneth Grome 2010)
  9. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  10. Re: [WebDNA] New problem with [ShowNext] (Govinda 2010)
  11. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  12. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  13. Re: [WebDNA] New problem with [ShowNext] (christophe.billiottet@webdna.us 2010)
  14. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  15. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  16. Re: [WebDNA] New problem with [ShowNext] (christophe.billiottet@webdna.us 2010)
  17. [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  18. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  19. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  20. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  21. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  22. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  23. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  24. Re: [WebDNA] why this error when using [shownext] with a [table]? (Stuart Tremain 2009)
  25. [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  26. Re: [ShowNext] ( Chris 2007)
  27. Re: [ShowNext] ( Donovan Brooke 2007)
  28. Re: [ShowNext] ( "WebDna @ Inkblot Media" 2007)
  29. Re: [ShowNext] ( Chris 2007)
  30. Re: [ShowNext] ( Gary Krockover 2007)
  31. Re: [ShowNext] ( Chris 2007)
  32. Re: [ShowNext] ( Donovan Brooke 2007)
  33. [ShowNext] ( Chris 2007)
  34. Re: Help getting [shownext] to increment (Marko Bernyk 2003)
  35. Re: Help getting [shownext] to increment (Marko Bernyk 2003)
  36. Re: Help getting [shownext] to increment (Kenneth Grome 2003)
  37. Re: Help getting [shownext] to increment (Donovan 2003)
  38. Re: Help getting [shownext] to increment (John Peacock 2003)
  39. Re: Help getting [shownext] to increment (Donovan 2003)
  40. Re: Help getting [shownext] to increment (Joe R. Richardson 2003)
  41. Re: Help getting [shownext] to increment (Joe R. Richardson 2003)
  42. Re: Help getting [shownext] to increment (John Peacock 2003)
  43. Re: Help getting [shownext] to increment (Kenneth Grome 2003)
  44. Re: Help getting [shownext] to increment (John Peacock 2003)
  45. Help getting [shownext] to increment (Joe R. Richardson 2003)
  46. Re: The [shownext] limitations (John Peacock 2002)
  47. Re: The [shownext] limitations (Frank Nordberg 2002)
  48. Re: The [shownext] limitations (Dan Strong 2002)
  49. Re: The [shownext] limitations (Donovan 2002)
  50. Re: The [shownext] limitations (Dan Strong 2002)
  51. Re: The [shownext] limitations (Donovan 2002)
  52. Re: The [shownext] limitations (Brian Burton 2002)
  53. Re: The [shownext] limitations (Brian Fries 2002)
  54. Re: The [shownext] limitations (Claude Gelinas 2002)
  55. Re: The [shownext] limitations (Brian Fries 2002)
  56. Re: The [shownext] limitations (John Peacock 2002)
  57. Re: The [shownext] limitations (Claude Gelinas 2002)
  58. Re: The [shownext] limitations (Brian Burton 2002)
  59. Re: The [shownext] limitations (Glenn Busbin 2002)
  60. Re: The [shownext] limitations (Frank Nordberg 2002)
  61. The [shownext] limitations (Claude Gelinas 2002)
  62. Re: [shownext] help (charles kline 2002)
  63. Re: [shownext] help (Louis A Perosi 2002)
  64. Re: [shownext] help (Louis A Perosi 2002)
  65. Re: [shownext] help (charles kline 2002)
  66. Re: [shownext] help (Glenn Busbin 2002)
  67. [shownext] help (Louis A Perosi 2002)
  68. Re: [shownext] (Kenneth Grome 2002)
  69. [shownext] (spam 2002)
  70. SQL & [shownext] tag... (Pedro Rivera 2001)
  71. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to def (John Butler 2000)
  72. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to def (John -Theed 2000)
  73. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to default (John Butler 2000)
  74. Re: [Shownext] [whynot] (Kenneth Grome 2000)
  75. [shownext] link disappears after first use. Why? (John Butler 2000)
  76. Re: [Shownext] [whynot] (chas@valley.net (chas) 2000)
  77. Re: [Shownext] [whynot] (WebDNA Support 2000)
  78. Re: [Shownext] [whynot] (Kenneth Grome 2000)
  79. [Shownext] [whynot] (chas@valley.net (chas) 2000)
  80. Re: simple but wierd [shownext] behavior?? (Glenn Busbin 2000)
  81. simple but wierd [shownext] behavior?? (John Butler 2000)
  82. [shownext] stumps me every 3-4 months !@%*#! (John Butler 2000)
  83. Re: [search] and [shownext] Problem (Howard Wolosky 2000)
  84. Re: [search] and [shownext] Problem (Jesse Proudman 2000)
  85. [search] and [shownext] Problem (Richard Kirsner 2000)
  86. Re: trouble with [shownext] (John Butler 2000)
  87. trouble with [shownext] (Justin Merth 2000)
  88. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  89. Re: more trouble with [showif] in [search] = busted [shownext] - SOLVED (John Butler 2000)
  90. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  91. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  92. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  93. more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  94. Re: [shownext] not displaying anything but first indices found (Kenneth Grome 2000)
  95. Re: [shownext] not displaying anything but first indices found (John Butler 2000)
  96. [shownext] not displaying anything but first indices found (John Butler 2000)
  97. Re: [shownext] not displaying anything but first indices found (Kenneth Grome 2000)
  98. Re: [shownext] (Kenneth Grome 1999)
  99. [shownext] (Phil Marshall 1999)
  100. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
  101. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
  102. Solution: [searh] or [shownext]problem (John Bennett 1998)
  103. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  104. Re: [searh] or [shownext]problem (John Bennett 1998)
  105. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  106. [searh] or [shownext]problem (John Bennett 1998)
  107. Re: [shownext] and sort (Gary Richter 1998)
  108. Re: [shownext] and sort (Sue Ann Sanders 1998)
  109. Re: [shownext] and sort (Gary Richter 1998)
  110. Re: [shownext] and sort (John Hill 1998)
  111. Re: [shownext] and sort (Sue Ann Sanders 1998)
  112. Re: [shownext] and sort (Peter Ostry 1998)
  113. Re: [shownext] and sort (Kenneth Grome 1998)
  114. Re: [shownext] and sort (Sue Ann Sanders 1998)
  115. Re: [shownext] and sort (Sue Ann Sanders 1998)
  116. Re: [shownext] (Kenneth Grome 1998)
  117. Re: [shownext] (Sue Ann Sanders 1998)
  118. Re: [shownext] (Kenneth Grome 1998)
  119. [shownext] (Sue Ann Sanders 1998)
  120. [Shownext] (Sami Hoda 1997)
  121. Re: [Shownext] (Pat McCormick 1997)
  122. Re: [SHOWNEXT] Examples (Bob Minor 1997)
  123. Re: [SHOWNEXT] Examples (Christer Olsson 1997)
  124. [SHOWNEXT] Examples (bob 1997)
  125. RE: [shownext] support - MacOS (Marc Eagle 1997)
  126. [shownext] support - MacOS (Pat McCormick 1997)
  127. RE: groups and [ShowNext] (Marc Eagle 1997)
  128. groups and [ShowNext] (Trevor Crist 1997)
  129. Re: [ShowNext] (Kenneth Grome 1997)
  130. Re: [ShowNext] (Jeremy Pocock 1997)
  131. Re: [ShowNext] (Kenneth Grome 1997)
  132. Re: [ShowNext] (Jeremy Pocock 1997)
  133. Re: [ShowNext] (Kenneth Grome 1997)
  134. [ShowNext] (Jeremy Pocock 1997)
  135. Re: [shownext] and descending order (Jacques VERNAY 1997)
  136. [shownext] and descending order (Jacques VERNAY 1997)
  137. Re: WebCat2b12 CGI Mac - [shownext] problem (John S. Winningham 1997)
  138. Re: WebCat2b12 CGI Mac - [shownext] problem (Kenneth Grome 1997)
  139. WebCat2b12 CGI Mac - [shownext] problem (John S. Winningham 1997)
  140. Re: [ShowNext] feature in 2.0 (Grant Hulbert 1997)
  141. [ShowNext] feature in 2.0 (grichter@panavise.com (Gary Richter) 1997)
  142. alternative to [shownext] (Gary Krockover This)
  143. another [shownext] example (Tom Duke How )
  144. a [shownext] example (Olin Lagon How )
  145. an example of application for [shownext] (Matthew Perosi How )
  146. [shownext] (Terry Wilson [sho)
>Hi > >I'm using this piece of WebDNA and which ever of the show next items >links I click on I still get the first 25 items again! Any ideas? > >If you want to see it in action, got www.ShopsOnTheNet.com, click the >search button in the left hand frame and then click on Browse full list >(alphabetical) below the main search form. > > >[Search db=shops.db&createdtype=date&grcreateddata=Mar 01 >1995&namesort=1&max=25] > > Found [NumFound] entries:
> > [ShowNext position=begin] > Show items >[start]-[end]
> [/ShowNext] > > > > > [ShowNext position=end] > Show items >[start]-[end]
> [/ShowNext] > >[/Search] You keep getting the same results because you're doing two searches. First you're searching according to the search string in the [shownext] context, then you're searching again by performing the search inside the [search context at the top of the page.Only the last search results are shown, and since the last search is the predefined context search, you will always get the same results unless you change the search context every time it searches.Try adding &startat=[start] to your search context, then get rid of the $search command and the [searchstring] tag inside the shownext context, and replace those items with &startat=[start]. Here's what I mean:[Search db=shops.db&createdtype=date&grcreateddata=Mar 01, 1995&namesort=1&max=25&startat=[start]][shownext] Show items [start]-[end]
[/ShowNext]This lets the search context always perform the search, and it resets the [startat] value to match the value of [start] that appears in the shownext context ... :)Sincerely, Ken Grome WebDNA Solutions 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:

Smart caching problems with 2.1b3? (1997) Another pair of eyes?? (2006) [WebDNA] multi [sendmail] inside [search] (2012) WebCatalog on Windows 98 (2000) Exclamation point (1997) Re:URGENT: WebCatalog 2.0 (1998) Cookies not setting on IE (2002) (2000) Checkboxes (1998) Old $ commands and migration (2004) I can help! (1996) Separate SSL Server (1997) rn doesn't work on date fields (1998) Not really WebCat- (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) Newbie Tax Question (1997) The Guru Speaks-Is That Really the Only Manuel? (1998) WebCatalog for WebStar V (2001) SM: MySQL and Numbers (BUG) (2005) form data submission gets truncated (1997)