[search] and [shownext] Problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33052
interpreted = N
texte = A while ago there was a post about creating search links that correspond to the number of pages of information (like Google) with the current page not linkable <1 2 3 4 5 6 7 etc. . >I have tried the following code but the 1 that should be non-linked doesn't show up. It shows 2 3 4 5 6. The answer to the original post suggested the using of [math show=f]ShowNextCount=2[/math] instead of [math show=f]ShowNextCount=1[/math]. Any suggestions would be greatly appreciated.Code in file marketingtest.tpl: [search db=products.db&eqcategorydata=marketing&max=8&startat=[start]&cart=[cart]]
There are [numfound] items in this Category
[math show=f]ShowNextCount=2[/math][shownext] [showif [ShowNextCount]=[page]][/showif] [ShowNextCount] [math show=f]ShowNextCount=[ShowNextCount]+1[/math] [/shownext]
 
[founditems]results here etc. . . . . [/founditems] [/search]Richard Kirsner------------------------------------------------------------- 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: [search] and [shownext] Problem (Howard Wolosky 2000)
  2. Re: [search] and [shownext] Problem (Jesse Proudman 2000)
  3. [search] and [shownext] Problem (Richard Kirsner 2000)
A while ago there was a post about creating search links that correspond to the number of pages of information (like Google) with the current page not linkable <1 2 3 4 5 6 7 etc. . >I have tried the following code but the 1 that should be non-linked doesn't show up. It shows 2 3 4 5 6. The answer to the original post suggested the using of [math show=f]ShowNextCount=2[/math] instead of [math show=f]ShowNextCount=1[/math]. Any suggestions would be greatly appreciated.Code in file marketingtest.tpl: [search db=products.db&eqcategorydata=marketing&max=8&startat=[start]&cart=[cart]]
There are [numfound] items in this Category
[math show=f]ShowNextCount=2[/math][shownext] [showif [ShowNextCount]=[page]][/showif] [ShowNextCount] [math show=f]ShowNextCount=[ShowNextCount]+1[/math] [/shownext]
 
[founditems]results here etc. . . . . [/founditems] [/search]Richard Kirsner------------------------------------------------------------- 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/ Richard Kirsner

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:

ftp access on Macos X (2000) Error Msg (1998) Frames and WebCat (1997) [WebDNA] I'm stuck... :-( (2009) Single Link browsing (1997) [WebDNA] TLS 1.2 and [tcpconnect] (2018) Credit Card Number checking (1997) Closing db's & caching templates (was: Shippingcalculations) (1997) Append again (1999) Signal Raised Error (1997) Hidden or Forbidden? (1998) Sorting by date (1997) Capturing the referring site (1999) Showing Results Alphabetically in Columns (top to bottom) (2002) Format all of a sudden doesn't work (1997) [append] and SSL (1997) Limiting user access to .tmpl files (1997) checkbox results written to a database (1999) WebCat2b13MacPlugIn - [include] (1997) New Plug-in and Type 11 errors (1997)