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:

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)