Re: [ShowNext]

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68905
interpreted = N
texte = interesting! thank you Gary! chris On Apr 27, 2007, at 12:55, Gary Krockover wrote: > I have a snippet on the interactive docs that may help you or give > you something to work with: > > http://webdna.smithmicro.com/ref/pages.html? > context=ShowNextContext.html > > Snippet: [ShowNext] replacement. This will show your next links in > the format of Page 1 | 2 | 3 etc and can be used even when the page > isn't a results page from a [Search] command: > > [search db=YOURDATABSE.DB&eqSEARCH_CRITERIAdatarq=SOMETHING] > [text show=f]dividerA=[math]ceil([numfound]/25)[/math][/text] > Page: > [Loop start=1&end=[dividerA]] > [index] | > [/Loop] > [/search] > > This example breaks down the results pages into lists of 25 results > per page. Substitute for the 25 in all places as needed, subtract > one number from the one you use to get the last digit in this > formula: ?startnum=[math]([index]*25)-24[/math] > > On YOUR_RESULTS_PAGE, you will have the actual search and add this > to your query: &max=25&startat=[startnum]. Again substituting the > 25 with a digit of your choosing for how many results you want per > page. > > GJK > > At 10:49 AM 4/27/2007, you wrote: >> right! i know it may takes some time and plan to use [Spawn]. >> I just did some testing and found that >> >> [search db=bases/remates.txt&eqrematedatarq=[NumRemate]&max=10] >> [shownext][start]-[end]
[/shownext][/search] >> >> returns something like >> >> 11-20 >> 21-30 >> 31-40 >> 41-50 >> 51-60 >> 61-70 >> 71-80 >> 81-90 >> etc... >> >> if i use a [search db=bases/remates.txt&rnlotedata=[start] [end]] >> inside the [search] context, i guess this should make it. Just one >> single question: why does it start at 11-20 and not 1-10 ? >> >> chris > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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: [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. Re: [shownext] (Kenneth Grome 2002)
  68. SQL & [shownext] tag... (Pedro Rivera 2001)
  69. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to def (John Butler 2000)
  70. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to def (John -Theed 2000)
  71. Re: [shownext] link disappears after first use. Why? - because w/out the formvar, max reset to default (John Butler 2000)
  72. Re: [Shownext] [whynot] (Kenneth Grome 2000)
  73. Re: [Shownext] [whynot] (chas@valley.net (chas) 2000)
  74. Re: [Shownext] [whynot] (WebDNA Support 2000)
  75. Re: [Shownext] [whynot] (Kenneth Grome 2000)
  76. Re: simple but wierd [shownext] behavior?? (Glenn Busbin 2000)
  77. simple but wierd [shownext] behavior?? (John Butler 2000)
  78. Re: [search] and [shownext] Problem (Howard Wolosky 2000)
  79. Re: [search] and [shownext] Problem (Jesse Proudman 2000)
  80. [search] and [shownext] Problem (Richard Kirsner 2000)
  81. Re: trouble with [shownext] (John Butler 2000)
  82. trouble with [shownext] (Justin Merth 2000)
  83. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  84. Re: more trouble with [showif] in [search] = busted [shownext] - SOLVED (John Butler 2000)
  85. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  86. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  87. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  88. more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  89. Re: [shownext] not displaying anything but first indices found (Kenneth Grome 2000)
  90. Re: [shownext] not displaying anything but first indices found (John Butler 2000)
  91. Re: [shownext] not displaying anything but first indices found (Kenneth Grome 2000)
  92. Re: [shownext] (Kenneth Grome 1999)
  93. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
  94. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
  95. Solution: [searh] or [shownext]problem (John Bennett 1998)
  96. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  97. Re: [searh] or [shownext]problem (John Bennett 1998)
  98. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  99. [searh] or [shownext]problem (John Bennett 1998)
  100. Re: [shownext] and sort (Gary Richter 1998)
  101. Re: [shownext] and sort (Sue Ann Sanders 1998)
  102. Re: [shownext] and sort (Gary Richter 1998)
  103. Re: [shownext] and sort (John Hill 1998)
  104. Re: [shownext] and sort (Sue Ann Sanders 1998)
  105. Re: [shownext] and sort (Peter Ostry 1998)
  106. Re: [shownext] and sort (Kenneth Grome 1998)
  107. Re: [shownext] and sort (Sue Ann Sanders 1998)
  108. Re: [shownext] and sort (Sue Ann Sanders 1998)
  109. Re: [shownext] (Kenneth Grome 1998)
  110. Re: [shownext] (Sue Ann Sanders 1998)
  111. Re: [shownext] (Kenneth Grome 1998)
  112. Re: [Shownext] (Pat McCormick 1997)
  113. Re: [SHOWNEXT] Examples (Bob Minor 1997)
  114. Re: [SHOWNEXT] Examples (Christer Olsson 1997)
  115. RE: [shownext] support - MacOS (Marc Eagle 1997)
  116. RE: groups and [ShowNext] (Marc Eagle 1997)
  117. groups and [ShowNext] (Trevor Crist 1997)
  118. Re: [ShowNext] (Kenneth Grome 1997)
  119. Re: [ShowNext] (Jeremy Pocock 1997)
  120. Re: [ShowNext] (Kenneth Grome 1997)
  121. Re: [ShowNext] (Jeremy Pocock 1997)
  122. Re: [ShowNext] (Kenneth Grome 1997)
  123. Re: [shownext] and descending order (Jacques VERNAY 1997)
  124. Re: WebCat2b12 CGI Mac - [shownext] problem (John S. Winningham 1997)
  125. Re: WebCat2b12 CGI Mac - [shownext] problem (Kenneth Grome 1997)
  126. WebCat2b12 CGI Mac - [shownext] problem (John S. Winningham 1997)
  127. Re: [ShowNext] feature in 2.0 (Grant Hulbert 1997)
  128. alternative to [shownext] (Gary Krockover This)
  129. another [shownext] example (Tom Duke How )
  130. a [shownext] example (Olin Lagon How )
  131. an example of application for [shownext] (Matthew Perosi How )
interesting! thank you Gary! chris On Apr 27, 2007, at 12:55, Gary Krockover wrote: > I have a snippet on the interactive docs that may help you or give > you something to work with: > > http://webdna.smithmicro.com/ref/pages.html? > context=ShowNextContext.html > > Snippet: [shownext] replacement. This will show your next links in > the format of Page 1 | 2 | 3 etc and can be used even when the page > isn't a results page from a [search] command: > > [search db=YOURDATABSE.DB&eqSEARCH_CRITERIAdatarq=SOMETHING] > [text show=f]dividerA=[math]ceil([numfound]/25)[/math][/text] > Page: > [Loop start=1&end=[dividerA]] > [math]([index]*25)-24[/ > math]">[index] | > [/Loop] > [/search] > > This example breaks down the results pages into lists of 25 results > per page. Substitute for the 25 in all places as needed, subtract > one number from the one you use to get the last digit in this > formula: ?startnum=[math]([index]*25)-24[/math] > > On YOUR_RESULTS_PAGE, you will have the actual search and add this > to your query: &max=25&startat=[startnum]. Again substituting the > 25 with a digit of your choosing for how many results you want per > page. > > GJK > > At 10:49 AM 4/27/2007, you wrote: >> right! i know it may takes some time and plan to use [spawn]. >> I just did some testing and found that >> >> [search db=bases/remates.txt&eqrematedatarq=[NumRemate]&max=10] >> [shownext][start]-[end]
[/shownext][/search] >> >> returns something like >> >> 11-20 >> 21-30 >> 31-40 >> 41-50 >> 51-60 >> 61-70 >> 71-80 >> 81-90 >> etc... >> >> if i use a [search db=bases/remates.txt&rnlotedata=[start] [end]] >> inside the [search] context, i guess this should make it. Just one >> single question: why does it start at 11-20 and not 1-10 ? >> >> chris > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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/ Christophe Billiottet

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:

Problems With NT 4.0.1 Install (2000) hiding return characters (2000) Help: sorting in found set. (2001) WebDNA on Windows questions (2007) Netinfo... (2002) [WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011) StoreBuilder/SiteBuilder (2005) webcat pro (1998) Cache Access Error (2000) Date Sorting (1997) Graphical display of sales volume (2003) Server Load (2000) many-to-one problem (1998) form data submission gets truncated (1997) SendTo more emails (1998) Privacy Issue (LEGIT QUESTION) (2003) how does [middle] work? (1998) Re:Emailer and encryption (1997) WebCatalog for Dummies part 2 (2000) FW: WebDNA-Talk searchable? (1997)