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:
webcat 3.06f on Linux keeps dying (1999)
Problem with a search context (2005)
Almost a there but..bye bye NetCloak (1997)
b12 cannot limit records returned and more. (1997)
Problems with [Applescript] (1997)
[Switch] - works great, suggestion (2000)
Pricing based on quantity (2000)
Keep away (1997)
Sorting by date (1997)
Configuring E-mail (1997)
Image maps/Webcat (1997)
[WebDNA] anyone write an RFC-822 date-time converter? (2008)
refreshing IE with posted .tmpl (1997)
Re:Emailer tracking (1997)
How to display images? (2002)
Emailer file formats (1998)
Line items in table cells (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Not Authorized (2000)
Out of the woodwork (2007)