Re: shownext not showing next...still r2

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14862
interpreted = N
texte = Hi Chris,I took out most of the extraneous stuff from your HTML so I could see the important items more clearly. Then I made a few changes to your HTML that might make a difference, such as:1- setting actual values in your search options 2- putting startat=[startat] in your search parameters 3- putting startat=[start] in the shownext parameters 4- putting [searchCriteria] inside a [url] context (which should be the first thing to remove if the following code doesn't work for you) 5- getting rid of ENCTYPE=x-www-form-encoded 6- replacing v2aliveBooksResults.tmpl with [thisurl] 7- replacing max=3 with max=[searchMax] for your search parameters 8- putting quotes around the form values that didn't have themWith these changes, I believe the following code should work: Search template:
v2aliveBooksResults.tmpl:[search db=aliveBooksv1.db&max=[searchMax]&cart=[cart]&[SearchAction][SearchField]data=[ url][SearchCriteria][/url]&startat=[startat]][shownext position=begin&max=1&method=POST]
[/shownext](other stuff here ...)[shownext position=end&max=1&method=POST]
[/shownext][/search] Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: shownext not showing next...still r2 (Kenneth Grome 1997)
  2. Re: shownext not showing next...still r2 (Chris Gursche 1997)
  3. Re: shownext not showing next...still r2 (Kenneth Grome 1997)
  4. shownext not showing next...still r2 (Chris Gursche 1997)
Hi Chris,I took out most of the extraneous stuff from your HTML so I could see the important items more clearly. Then I made a few changes to your HTML that might make a difference, such as:1- setting actual values in your search options 2- putting startat=[startat] in your search parameters 3- putting startat=[start] in the shownext parameters 4- putting [searchCriteria] inside a [url] context (which should be the first thing to remove if the following code doesn't work for you) 5- getting rid of ENCTYPE=x-www-form-encoded 6- replacing v2aliveBooksResults.tmpl with [thisurl] 7- replacing max=3 with max=[searchMax] for your search parameters 8- putting quotes around the form values that didn't have themWith these changes, I believe the following code should work: Search template:
[cart]>
v2aliveBooksResults.tmpl:[search db=aliveBooksv1.db&max=[searchMax]&cart=[cart]&[SearchAction][SearchField]data=[ url][SearchCriteria][/url]&startat=[startat]][shownext position=begin&max=1&method=POST]
[thisurl]> [cart]>
[/shownext](other stuff here ...)[shownext position=end&max=1&method=POST]
[thisurl]> [cart]>
[/shownext][/search] Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. 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:

and vs or vs not (1998) GuestBook example (1997) relogin same user? (1998) For those of you not on the WebCatalog Beta... (1997) Closing Databases (1998) template security preferences????? (1998) Problems passing [SKU] with $Replace in 2.0 (1997) Frames and WebCat (1997) How true is this? (1999) Help name our technology! I found it (1997) Pull Down Search (2000) Mac: LModelDirector bug fix (1997) Search wbrk word break param (1998) Logic question (2002) WC2.0 Memory Requirements (1997) WebCat B13 Mac CGI -- Frames question (1997) WC2f3 (1997) Using Plug-In while running 1.6.1 (1997) HELP WITH DATES (1997) Banners and sort of random display (1997)