Re: shownext problems
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18503
interpreted = N
texte = >Here's basically what I have:>>[search db=mydatabase.db&otherparameters&max=15]>>[founditems]>details>[/founditems]>>[shownext position=begin]
HREF=results.tpl?command=search&[searchstring]>[start]-[end][/shownext]>[shownext position=middle] [start]-[end][/shownext]>[shownext position=end] HREF=results.tpl?command=search&[searchstring]>[start]-[end][/shownext]>>[/search]>>Frankly, I don't like the idea of using a command here,You don't have to, and you shouldn't. The shownext links are loading this same page again, and since there's already a search context on this page, you don't need to tell WebCat to search.When WebCat sees a [search] context it does the search automatically. Therefore you can take out the 'command=search&' string and it will work just fine. Try this instead:[shownext position=begin][start]-[end][/shownext][shownext position=middle][start]-[end][/shownext][shownext position=end][start]-[end][/shownext]Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>Here's basically what I have:>>[search db=mydatabase.db&otherparameters&max=15]>>
[founditems]>details>[/founditems]>>[shownext position=begin]
HREF=results.tpl?command=search&[searchstring]>[start]-[end][/shownext]>[shownext position=middle] [start]-[end][/shownext]>[shownext position=end] HREF=results.tpl?command=search&[searchstring]>[start]-[end][/shownext]>>[/search]>>Frankly, I don't like the idea of using a command here,You don't have to, and you shouldn't. The shownext links are loading this same page again, and since there's already a search context on this page, you don't need to tell WebCat to search.When WebCat sees a [search] context it does the search automatically. Therefore you can take out the 'command=search&' string and it will work just fine. Try this instead:[shownext position=begin]
[start]-[end][/shownext][shownext position=middle][start]-[end][/shownext][shownext position=end][start]-[end][/shownext]Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
NewCart+Search with one click ? (1997)
RE: Purchased cart being overwritten - still !?? (1997)
[WebDNA] New 7.1.702 version (2012)
WebCommerce: Folder organization ? (1997)
Navigator 4.01 (1997)
Nested vs conditional (1997)
Multiple Newcarts (1996)
searchable list archive (1997)
This list needs a digest: rant, rave... (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Still trying to email... (1998)
Date math format (1998)
Look out kiwis! (2003)
foreign languages, email, webcat (1998)
WebDNA and SQL (2003)
PROBLEM (1997)
Re2: frames & carts (1997)
Hiding HTML and breaking the page (1997)
Newbie problem blah blah blah (1997)
WebCatalog/Mac 2.1b2 New Features (1997)