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 Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines 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:

    
  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'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 Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines 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)