Formatting an embedded search from a neebie
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36500
interpreted = N
texte = I'm having trouble getting the right formatting to appear when using anembedded search (so that I can group results by a given criteria).I've attached the code below. (I'm still a WebCatalog neebie so pleaseforgive me if I state the obvious!)[search db=catalog.db[hideif [ProductName]=][hideif[ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/hideif][/hideif][hideif [ProductType]=][hideif[ProductType]=[raw][ProductType][/raw]]&eqProductTypedatarq=[ProductType][/hideif][/hideif]&asProductNamesort=1&ProductNameSumm=T]....in here is code if the numfound=0 or 1...[showif [numfound]>1]
[/founditems][/search][/founditems][/search][/showif]...any suggestions?Suzanne-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Formatting an embedded search from a neebie (Suzanne Swift 2000)
|
I'm having trouble getting the right formatting to appear when using anembedded search (so that I can group results by a given criteria).I've attached the code below. (I'm still a WebCatalog neebie so pleaseforgive me if I state the obvious!)[search db=catalog.db[hideif [ProductName]=][hideif[ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/hideif][/hideif][hideif [ProductType]=][hideif[ProductType]=[raw][ProductType][/raw]]&eqProductTypedatarq=[ProductType][/hideif][/hideif]&asProductNamesort=1&ProductNameSumm=T]....in here is code if the numfound=0 or 1...[showif [numfound]>1][unurl][ProductType][/unurl]
[founditems][unurl][ProductName][/unurl]
[search db=catalog.db[hideif [ProductName]=][hideif[ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/hideif][/hideif]&asProductNamesort=1&asModelName=2][founditems]
[url][ModelNumber]_thumb.jpg[/url][/showif][showif [fileinfoimages/[ModelNumber]_thumb.jpg][exists][/fileinfo]=F]noimage_thumb.gif[/showif] alt=[hideif [Manufacturer]=][Manufacturer] -[/hideif][unurl][ModelNumber][/unurl] width=80 height=100 vspace=5border=1> [url][ModelNumber][/url]>[unurl][ModelName][/unurl] [url][ModelNumber][/url]>[unurl][ModelNumber][/unurl] | [showif [index]\3]
[/showif][hideif [numfound]\3]
[/hideif]
[/founditems][/search][/founditems][/search][/showif]...any suggestions?Suzanne-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Suzanne Swift
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:
Error 11 (1996)
Firesite Round 2 (1999)
Ends With (2003)
Upgrade to WebCat2 from Commerce Lite (1997)
[lineitems] (2000)
ListDatabases & ShowIf (2003)
autosensing lanague selection (1997)
BUG in [showif] using ^ (contains) (1997)
Robots fill event log (1997)
New Line In grep (2003)
Adding to Cart (2004)
Multiple instances of database (2003)
Problem upgrading from 3.0.8 to 4.0 on MS Windoze 98 / PWS (2000)
URGENT: WebDNA Server Not Running (2003)
Simple way to create unique SKU (1997)
search command (1999)
WebSTAR plugin update (2004)
Generic HDR file (2000)
WC2b12: Yes, Formulas.db is for real (1997)
2.0Beta Command Ref (can't find this instruction) (1997)