Re: Search in 2 or more catalogs
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10315
interpreted = N
texte = >ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageThis simple example should get you started:[search db=catalog1.txt&woDescriptiondata=computer] [foundItems] [xxx] [/foundItems][/search][search db=catalog2.txt&woDescriptiondata=computer] [foundItems] [xxx] [/foundItems][/search]Remember that you can use any form variables in place of text, like so:[search db=catalog2.txt&woDescriptiondata=[form.WhatToSearchFor]]In this case, the form you fill out to get to the template above would have a field named form.WhatToSearchFor, like so:
Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageThis simple example should get you started:[search db=catalog1.txt&woDescriptiondata=computer]
[founditems] [xxx] [/foundItems][/search][search db=catalog2.txt&woDescriptiondata=computer]
[founditems] [xxx] [/foundItems][/search]Remember that you can use any form variables in place of text, like so:[search db=catalog2.txt&woDescriptiondata=[form.WhatToSearchFor]]In this case, the form you fill out to get to the template above would have a field named form.WhatToSearchFor, like so:
Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
Suffix Mapping (1997)
Bug Report, maybe (1997)
Contract Work (2000)
Running 2 two WebCatalog.acgi's (1996)
label?! (2005)
& problem (1999)
View order not right (1997)
WebCatalog2 Feature Feedback (1996)
Re:[ShowIf] and empty fields (1997)
Can't add a field (1998)
RequiredFields template (1997)
Generating Options for a Form. (1997)
Press Release hit the NewsWire!!! (1997)
[searchString] (1997)
WC TableGrinder (1997)
Authenticate (2000)
Image maps/Webcat (1997)
searchable list archive (1997)
[WebDNA] Does [referrer] get lost when server switches from http (2020)
Webcat Manual and TeaRoom Examples Uses Different Examples. (1997)