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:
Conveting Characters to Graphics (1997)
Running _every_ page through WebCat ? (1997)
[url] (1997)
Comments in db? (1997)
Updating checkboxes made easy !!! (1998)
[WebDNA] File not found when trying to install WebDNA on Debian (2016)
Re(7): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
Bad cookie (1998)
UPS went bye bye (2006)
Removing and Reinstalling Typhoon (2000)
Testing (2003)
how do I have html files routed through webcat on OSX? (2001)
syntax question, not in online refernce (1997)
[WriteFile] problems (1997)
Multiple prices (1997)
Correction: New WebDNA Example from Olin -- (1998)
[WebDNA] Dynamic vertical columns (2008)
Question re: FlushDatabases (1997)
Softball questions (2003)
problem: search crashes webstar (1997)