Re: shownext problems
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18518
interpreted = N
texte = >Personally I *never* use the [searchstring] tag now that I have adopted the>policy of always using [search] contexts ... so you might have to write your>own search string instead of using that tag ... :)You mean you get around ever having those long and messy strings in theURLs? I'm all for that. Okay, here's the form on the starting page (I'veexcised the extraneous keyword fields). There are two parts - a keywordsearch, and a simple library browse. Don't know if this has anything to dowith my problems, but coming into the page, WebCat has already searched the.db to build the info for the second half, which is the Browse Librariesthing. I send that one to its own results page (which works perfectly).:
Browse the Libraries
[search neSKUdata=[blank]&db=feetpix.db&librarysumm=t&detruedatesort=1][FoundItems] | [ShowIf [index]\5]
[/ShowIf][/FoundItems][/search]
=================Then here's the body of the results.tpl that the first search goes to:[searchdb=feetpix.db&group1field=description+otherdescription&rndatedatarq=[dayrange]&group1wbrk=, &[showif [compare]=allwords]wagroup1data=[showif[key1]![raw][key1][/raw]][key1],[/showif][showif[key45]![raw][key45][/raw]][key45],[/showif][/showif][showif[compare]=anywords]wogroup1data=[showif[key1]![raw][key1][/raw]][key1],[/showif][showif[key45]![raw][key45][/raw]][key45],[/showif][/showif]&allreqd=t&max=15&skusort=1]Your search for
[showif [key1]![raw][key1][/raw]][key1],[/showif][showif [key45]![raw][key45][/raw]][key45][/showif] found
[numfound] files.
[foundItems] [sku] [OtherDescription] | [showif [index]\5]
[/showif][/foundItems]
[hideif [numfound]<15]| [shownext position=begin] [start]-[end] |[/shownext][shownext position=middle][start]-[end][/shownext][shownext position=end] | [start]-[end][/shownext] |
[/hideif][/search]==== I tried this search form, and it also returns 0 files ============[shownext]
[/shownext]==============================================Question: Does a [cart] assignment have anything to do with searches likethis? Nobody's buying anything, just retrieving information.Thanks!Terry Wilsonterryw@rainbowcreek.comTerry Wilsonterryw@rainbowcreek.com
Associated Messages, from the most recent to the oldest:
>Personally I *never* use the [searchstring] tag now that I have adopted the>policy of always using
[search] contexts ... so you might have to write your>own search string instead of using that tag ... :)You mean you get around ever having those long and messy strings in theURLs? I'm all for that. Okay, here's the form on the starting page (I'veexcised the extraneous keyword fields). There are two parts - a keywordsearch, and a simple library browse. Don't know if this has anything to dowith my problems, but coming into the page, WebCat has already searched the.db to build the info for the second half, which is the Browse Librariesthing. I send that one to its own results page (which works perfectly).:
Browse the Libraries
[search neSKUdata=[blank]&db=feetpix.db&librarysumm=t&detruedatesort=1][founditems] | [ShowIf [index]\5]
[/ShowIf][/FoundItems][/search]
=================Then here's the body of the results.tpl that the first search goes to:[searchdb=feetpix.db&group1field=description+otherdescription&rndatedatarq=[dayrange]&group1wbrk=, &[showif [compare]=allwords]wagroup1data=[showif[key1]!
[raw][key1][/raw]][key1],[/showif][showif[key45]!
[raw][key45][/raw]][key45],[/showif][/showif][showif[compare]=anywords]wogroup1data=[showif[key1]!
[raw][key1][/raw]][key1],[/showif][showif[key45]!
[raw][key45][/raw]][key45],[/showif][/showif]&allreqd=t&max=15&skusort=1]Your search for
[showif [key1]![raw][key1][/raw]][key1],[/showif][showif [key45]![raw][key45][/raw]][key45][/showif] found
[numfound] files.
[hideif [numfound]<15]| [shownext position=begin] [start]-[end] |[/shownext][shownext position=middle][start]-[end][/shownext][shownext position=end] | [start]-[end][/shownext] |
[/hideif][/search]==== I tried this search form, and it also returns 0 files ============[shownext]
[/shownext]==============================================Question: Does a
[cart] assignment have anything to do with searches likethis? Nobody's buying anything, just retrieving information.Thanks!Terry Wilsonterryw@rainbowcreek.comTerry Wilsonterryw@rainbowcreek.com
Terry Wilson
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:
Resume Catalog ? (1997)
WebCommerce: Folder organization ? (1997)
Parse question (2005)
GoLive CyberStudio 1.0.1 (1997)
Problems with [Search] param - Mac Plugin b15 (1997)
A little syntax help (1997)
Not really WebCat (1997)
Great product and great job ! (1997)
[writefile] (1997)
performans tests... (2001)
[WebDNA] Capitalize surprise (2012)
OT: PDF (2004)
Revisit: speed test (2002)
Caching [include] files ... (1997)
[Listfiles] vs Netfinder (1997)
Sku numbers (1997)
Database causes out of memory error (2000)
Announcement-WebCatalog 2.0 Released (1997)
Commas in search (1998)
WebCat2b15MacPlugin - [protect] (1997)