Grouping items in results page
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36262
interpreted = N
texte = Someone has posted code that puts search results into a table:[search.........]
[founditems]| [variable] | [showif [index]\2]
[/showif][/founditems]
[/search]Say I have four or five products that I know will get returned in the search results (apples, oranges, grapes and bananas). I want results that come back looking like this:Green appleRed appleGreen grape 1, green grape 2, green grape 3, green grape 4, green grape 5.Purple grape 1, purple grape 2, purple grape 3, purple grape 4OrangeBanana 1, banana 2, banana 3How do I format the search context so that I can treat grapes and bananas differently from apples and oranges?-- Regards,Christopher Mackay, Director of Technical ServicesTantramar Interactive, http://www.tantramar.com/Tantramar Publishing, http://www.tantramarpublishing.com/phone: 506/364-1097 cell: 364-7659 fax: 536-2409-------------------------------------------------------------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:
Someone has posted code that puts search results into a table:[search.........][founditems]| [variable] | [showif [index]\2]
[/showif][/founditems]
[/search]Say I have four or five products that I know will get returned in the search results (apples, oranges, grapes and bananas). I want results that come back looking like this:Green appleRed appleGreen grape 1, green grape 2, green grape 3, green grape 4, green grape 5.Purple grape 1, purple grape 2, purple grape 3, purple grape 4OrangeBanana 1, banana 2, banana 3How do I format the search context so that I can treat grapes and bananas differently from apples and oranges?-- Regards,Christopher Mackay, Director of Technical ServicesTantramar Interactive, http://www.tantramar.com/Tantramar Publishing, http://www.tantramarpublishing.com/phone: 506/364-1097 cell: 364-7659 fax: 536-2409-------------------------------------------------------------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/
Christopher Mackay
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:
Blowback and budgets. (2000)
emailer on Windows Beta 18 (1997)
Security stumper [mildly OT] (2004)
WebCatalog on G3 Macs? (1997)
quantity minimum problem (1997)
ConverChars (1999)
Generating Pages (1999)
Roundup function? (1997)
Solve the Problem, get the code! (2001)
using showpage and showcart commands (1996)
Location of Browser Info.txt file (1997)
No one gets my client's code for free ... (2005)
WebCatalog for Postcards ? (1997)
Email Mac (2002)
[OT] - Block Traffic to DevBox (2003)
WebCat2b15MacPlugin - [protect] (1997)
Using Applescript to process WebCatalog functions (1998)
Setting up a lightbox (2002)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
in header include files? (1998)