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 the URLs? I'm all for that. Okay, here's the form on the starting page (I've excised the extraneous keyword fields). There are two parts - a keyword search, and a simple library browse. Don't know if this has anything to do with 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 Libraries thing. I send that one to its own results page (which works perfectly).:

Search by Keyword

bare
stockinged

Enter additional word(s). examples: celebrity's name, movie title.
ALL checked keywords MUST match
ANY checked keywords may match
Look in the files added in the past

Browse the Libraries

[search neSKUdata=[blank]&db=feetpix.db&librarysumm=t&detruedatesort=1][FoundItems] [ShowIf [index]\5][/ShowIf] [/FoundItems][/search]

[library]
================= Then here's the body of the results.tpl that the first search goes to:[search db=feetpix.db&group1field=description+otherdescription&rndatedatarq=[dayrange]&g roup1wbrk=, &[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] [showif [index]\5][/showif] [/foundItems]

[sku]
[OtherDescription]

[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]

[showif [compare]=allwords] [/showif][showif [compare]=anywords] [/showif]
[/shownext] ============================================== Question: Does a [cart] assignment have anything to do with searches like this? Nobody's buying anything, just retrieving information.Thanks! Terry Wilson terryw@rainbowcreek.comTerry Wilson terryw@rainbowcreek.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Shownext problems (PCS Technical Support 1999)
  2. Re: Shownext problems (Kenneth Grome 1999)
  3. Re: Shownext problems (PCS Technical Support 1999)
  4. Re: Shownext problems (Jeffrey L. Jones 1999)
  5. Re: Shownext problems (PCS Technical Support 1999)
  6. Shownext problems (Jeffrey L. Jones 1999)
  7. Re: ShowNext problems (Kenneth Grome 1998)
  8. Re: ShowNext problems (Johann Weber 1998)
  9. Re: shownext problems (Rob Marquardt 1998)
  10. Re: shownext problems (Kenneth Grome 1998)
  11. Re: shownext problems (Kenneth Grome 1998)
  12. Re: shownext problems & formvariables (Terry Wilson 1998)
  13. Re: shownext problems (Terry Wilson 1998)
  14. Re: shownext problems (Terry Wilson 1998)
  15. Re: shownext problems (Jay Van Vark 1998)
  16. Re: shownext problems (Kenneth Grome 1998)
  17. Re: shownext problems (Terry Wilson 1998)
  18. Re: shownext problems (Kenneth Grome 1998)
  19. shownext problems (Terry Wilson 1998)
>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 the URLs? I'm all for that. Okay, here's the form on the starting page (I've excised the extraneous keyword fields). There are two parts - a keyword search, and a simple library browse. Don't know if this has anything to do with 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 Libraries thing. I send that one to its own results page (which works perfectly).:

Search by Keyword

bare
stockinged

Enter additional word(s). examples: celebrity's name, movie title.
ALL checked keywords MUST match
ANY checked keywords may match
Look in the files added in the past

Browse the Libraries

[search neSKUdata=[blank]&db=feetpix.db&librarysumm=t&detruedatesort=1][founditems] [ShowIf [index]\5][/ShowIf] [/FoundItems][/search]
[url][library][/url]> [url][library][/url]>
[library]
================= Then here's the body of the results.tpl that the first search goes to:[search db=feetpix.db&group1field=description+otherdescription&rndatedatarq=[dayrange]&g roup1wbrk=, &[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] [showif [index]\5][/showif] [/foundItems]

[sku]
[OtherDescription]

[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]

[showif [compare]=allwords] [raw][key1][/raw]][key1],[/showif][showif [key45]![raw][key45][/raw]][key45],[/showif]> [/showif][showif [compare]=anywords] [raw][key1][/raw]][key1],[/showif][showif [key45]![raw][key45][/raw]][key45],[/showif]> [/showif]
[/shownext] ============================================== Question: Does a [cart] assignment have anything to do with searches like this? Nobody's buying anything, just retrieving information.Thanks! Terry Wilson terryw@rainbowcreek.comTerry Wilson terryw@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)