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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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)
>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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://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:

Install on RedHat ES 4 (2006) Upgrade to WebCat2 from Commerce Lite (1997) Re:no template caching (1997) Can't find templaes (1997) carriage returns in data (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re1000002: Setting up shop (1997) Great product and great job ! (1997) WCS Newbie question (1997) [NT] ie 4.0 required (1997) WebCat2b15MacPlugin - showing [math] (1997) Re1000001: Setting up shop (1997) Uploading very large image files (2003) WebMerchant & AuthorizeNet (2000) Quit revisited (1997) [WebDNA] 30 Minute Cookies (2016) Sorting by date (1997) RE: [taxRate] [TaxTotal] ? (1997) RE: [WebDNA] WebDNA not running after 10.6.3 update (2010) form validator issue (2005)