Re: REDIRECT MULTIPLE RESULTS
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26160
interpreted = N
texte = I am using this method myself, although I am using the multi-item form andredirecting if only 1 item was returned. The way I do it is within the[FoundItems] loop, not just within the [Search] loop. This way, I can redirectto the exact SKU that was found, but only if only 1 item was found. e.g.[FoundItems][ShowIf [NumFound]=1][Redirect http://[GetMIMEHeaderHTTP_HOST]/Catalog/SingleBook.shtml?command=Search&db=../CATALOG.db&eqSKUdata=[SKU]][/ShowIf][/FoundItems]Hope this helpsJohn Peacock____________________Reply Separator____________________Subject: REDIRECT MULTIPLE RESULTS Author:
(WebCatalog Talk)Date: 1/13/00 6:00 PMHi,I'm trying to get a script that redirects a page if it finds more then oneresult after it searches the db.(it's not the redirect command. Its howWC ditects more then one results and IF it ditecs them, then it gos to theopther page)I haven't had any luck yet. Please help. WC3.o Mac.Thank you.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
|
- Re: REDIRECT MULTIPLE RESULTS ( 2000)
|
I am using this method myself, although I am using the multi-item form andredirecting if only 1 item was returned. The way I do it is within the[founditems] loop, not just within the [search] loop. This way, I can redirectto the exact SKU that was found, but only if only 1 item was found. e.g.[founditems][ShowIf [NumFound]=1][Redirect http://[GetMIMEHeaderHTTP_HOST]/Catalog/SingleBook.shtml?command=Search&db=../CATALOG.db&eqSKUdata=[SKU]][/ShowIf][/FoundItems]Hope this helpsJohn Peacock____________________Reply Separator____________________Subject: REDIRECT MULTIPLE RESULTS Author: (WebCatalog Talk)Date: 1/13/00 6:00 PMHi,I'm trying to get a script that redirects a page if it finds more then oneresult after it searches the db.(it's not the redirect command. Its howWC ditects more then one results and IF it ditecs them, then it gos to theopther page)I haven't had any luck yet. Please help. WC3.o Mac.Thank you.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
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:
subTotal what's this? (2000)
question on [delete] (1998)
[showif]/[hideif] question (1997)
Hosts who have upgraded to v5.0? (2003)
EMail Problem (2000)
Extended [ConvertChars] (1997)
Summary search -- speed (1997)
Using [Showif] tag. Mac (1997)
Nested tags count question (1997)
setlineiems and UnitShip Cost (2000)
WebCat2b12--[searchstring] bug (1997)
[OT] WebStar SSL (2004)
search form problem.. (1997)
[WebDNA] Grep everything and replace with asterisks? (2010)
Date AND time (2001)
possible, WebCat2.0 and checkboxes-restated (1997)
Searching multiple Databases (1997)
Emailer setup (1997)
(1997)
Sendmail truncation in Eudora Clients (1998)