Re: filtering [founditems]
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58620
interpreted = N
texte = For Donovan (if available!)I read up on the [table] idea. Seems good for what I want to do. Here's my code that is NOT working. How does one "feed" the first batch of [founditems] to the table???[search db=../../www.philsfonts.com/vault/philsfonts.db[!][/!][if ("[key]"="4")][then]&eqFOCUSdatarq=[fcs]&eqFAMDISPdatarq=T[/then][!][/!][else]&[wrd]GROUP1datarq=[keyword]&GROUP1FIELD=nohtml+fontname+fampk g+keywords+&eqFAMDISPdatarq=T[/else][/if][!][/!]&MANOPTsort=1&MANOPTtype=text&MANOPTsdir=de&FONTNAMEsort=2&FONTNAMEt ype=text&FONTNAMEsdir=as&VOLPKGNUMsort=3&FONTNAMEsumm=T&startat=[startat ]&max=[rslts]][table name=liok&fields=SKU,FAMDISP,FAMPREFIX,FAMPKG,VOLPKGNUM,FONTPREFIX,FONTN AME,KEYWORDS,PRINTERNAME,PKGPRICE,PRICE,CLASSIFICATION,DESIGNER,FOUNDRY, FOUNDRYCODE,PARENTROOT,SORTORDER,MISCINFO,ORIGCLASS,PKGONLY,ORIGDESIGNER ,ORIGFOUNDRY,ORIGFOUNDRYCODE,ORIGVOLPKG,ORIGPARTNUM,TAXABLE,DOWNLOAD,MAN OPT,FOCUS,NOHTML,GLNUM,LIDUPE][founditems][/founditems][/search][/table][search table=liok&eqLIDUPEdatarq=F]--Jon Young | Phil's Fonts501 Olney Sandy Spring Road, Sandy Spring, MD 20860tel 800-681-9375 or 301-260-2285 | fax 301-260-2277mailto: webmaster@philsfonts.com | http://www.philsfonts.comOn Jun 24, 2004, at 11:59 AM, Donovan Brooke wrote:> [table] can be handy here but you are leaving out some details..> you say from "whatever" field.. Are these "groups" (categorys,flags) > going> to be under the same fieldname?>> Donovan>>>> Jon Young wrote:>>> Question for ya'll...>> We've a got a search working quite well. But I'd like to be able to >> work with the [founditems]. I need to filter through the [founditems] >> and separate them into different groups, based on certain conditions.>> For example, all records from [founditems] that have a X in their >> WHATEVER field should go in one group (an array maybe?). And all >> records from [founditems] that have Y in their WHATEVER field should >> go in another group. Then as we display the results of the search, we >> can display separate different groups of results...>> Can someone point me in a direction? Can you [search] through >> [founditems] to create multiple sets of [founditems]? Would I use >> Arrays in some way? Thoughts? Does anyone have sample code if they've >> done this kind of thing before?>> Thanks!>> Jon>> -- >> Jon Young | Phil's Fonts>> 501 Olney Sandy Spring Road, Sandy Spring, MD 20860>> tel 800-681-9375 or 301-260-2285 | fax 301-260-2277>> mailto: webmaster@philsfonts.com | http://www.philsfonts.com>>> -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE Eucalyptus Design> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->>> ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> Web:> http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
For Donovan (if available!)I read up on the [table] idea. Seems good for what I want to do. Here's my code that is NOT working. How does one "feed" the first batch of [founditems] to the table???[search db=../../www.philsfonts.com/vault/philsfonts.db[!][/!][if ("[key]"="4")][then]&eqFOCUSdatarq=[fcs]&eqFAMDISPdatarq=T[/then][!][/!][else]&[wrd]GROUP1datarq=[keyword]&GROUP1FIELD=nohtml+fontname+fampk g+keywords+&eqFAMDISPdatarq=T[/else][/if][!][/!]&MANOPTsort=1&MANOPTtype=text&MANOPTsdir=de&FONTNAMEsort=2&FONTNAMEt ype=text&FONTNAMEsdir=as&VOLPKGNUMsort=3&FONTNAMEsumm=T&startat=[startat ]&max=[rslts]][table name=liok&fields=SKU,FAMDISP,FAMPREFIX,FAMPKG,VOLPKGNUM,FONTPREFIX,FONTN AME,KEYWORDS,PRINTERNAME,PKGPRICE,PRICE,CLASSIFICATION,DESIGNER,FOUNDRY, FOUNDRYCODE,PARENTROOT,SORTORDER,MISCINFO,ORIGCLASS,PKGONLY,ORIGDESIGNER ,ORIGFOUNDRY,ORIGFOUNDRYCODE,ORIGVOLPKG,ORIGPARTNUM,TAXABLE,DOWNLOAD,MAN OPT,FOCUS,NOHTML,GLNUM,LIDUPE][founditems][/founditems][/search][/table][search table=liok&eqLIDUPEdatarq=F]--Jon Young | Phil's Fonts501 Olney Sandy Spring Road, Sandy Spring, MD 20860tel 800-681-9375 or 301-260-2285 | fax 301-260-2277mailto: webmaster@philsfonts.com | http://www.philsfonts.comOn Jun 24, 2004, at 11:59 AM, Donovan Brooke wrote:> [table] can be handy here but you are leaving out some details..> you say from "whatever" field.. Are these "groups" (categorys,flags) > going> to be under the same fieldname?>> Donovan>>>> Jon Young wrote:>>> Question for ya'll...>> We've a got a search working quite well. But I'd like to be able to >> work with the [founditems]. I need to filter through the [founditems] >> and separate them into different groups, based on certain conditions.>> For example, all records from [founditems] that have a X in their >> WHATEVER field should go in one group (an array maybe?). And all >> records from [founditems] that have Y in their WHATEVER field should >> go in another group. Then as we display the results of the search, we >> can display separate different groups of results...>> Can someone point me in a direction? Can you [search] through >> [founditems] to create multiple sets of [founditems]? Would I use >> Arrays in some way? Thoughts? Does anyone have sample code if they've >> done this kind of thing before?>> Thanks!>> Jon>> -- >> Jon Young | Phil's Fonts>> 501 Olney Sandy Spring Road, Sandy Spring, MD 20860>> tel 800-681-9375 or 301-260-2285 | fax 301-260-2277>> mailto: webmaster@philsfonts.com | http://www.philsfonts.com>>> -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE Eucalyptus Design> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->>> ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> Web:> http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Jon Young
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:
Different coloured rows for [FoundItems] (2000)
Sort Order on a page search (1997)
tag request (1999)
Y2k compliance (1998)
no global [username] or [password] displayed ... (1997)
Trouble with carts (2000)
Spontaneous Errors (2004)
Virtual hosting and webcatNT (1997)
A better WebCat whois (was [OT] Domain Name Scam) (2000)
emailer (1997)
[ot] Any One Want A WebDNA Billing Program? (2003)
WC2f3 (1997)
form data submission gets truncated (1997)
How can I Add several Items into the cart at once? (1997)
WCS Newbie question (1997)
Multiple fields on 1 input (1997)
Separate SSL Server (1997)
CloseDatabase (1997)
Problems with date math (1997)
Sorting (2000)