Re: Sorting
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34114
interpreted = N
texte = ok, what you just showed me I think are the links which goto the page default.tplwhich actually has the [search] context(s) in it. Look for and then please show me the[search] context(s) in the default.tpl page:-JohnPaul Berman wrote:> John,>> We previously wrote a neat catalog with version 3+ without difficulty> but with this storebulder thing which is neat it has two files linked> for searches.>> search.inc which has this line which searches for the catagories>
>> and this one which uses a loop which displays the items found>> [hideif [sect][prod]=FF]> [loop start=1&end=[level]] [/loop]>
start=1&end=[level]]id[index]=[interpret][id[index]][/interpret]&[/loo> p]id[math][level]+1[/math]=[s_id]&startat=1&--woSECTIONSdatarq=[s_id]&> --SECTIONSword=ww1>[S_NAME]> [/hideif]>> It appears to display these items randomly as it doesnt matter where> they are in the database or what order you add additional items.>> Its driving us all crazy>> >Paul Berman wrote:> >> > > With webcat 4 using the store builder how do I sort the products> >found by cost> > >> >> >The search params you are after look like this:> >> >[search... &field1sort=1&field1sdir=as&field1type=num...]> >[/search]> >> >I don't know about storebuilder, so look for the search command or> >context that is do> >the finding of the records you want to sort by cost/price, and add> >params like what I> >showed.> >> >Ask for more if you are confused.> >> >-John> >> >> >-------------------------------------------------------------> >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/>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
ok, what you just showed me I think are the links which goto the page default.tplwhich actually has the [search] context(s) in it. Look for and then please show me the[search] context(s) in the default.tpl page:-JohnPaul Berman wrote:> John,>> We previously wrote a neat catalog with version 3+ without difficulty> but with this storebulder thing which is neat it has two files linked> for searches.>> search.inc which has this line which searches for the catagories> > ![MAIN_SECTION_COLOR]]bgcolor=[MAIN_SECTION_COLOR][/ShowIf]> face=[TEXT_FONT]>> href=default.tpl?cart=[cart]&id1=[s_id]&startat=1&--woSECTIONSdatarq=> [s_id]&--SECTIONSword=ww>[S_NAME] > |
>
>> and this one which uses a loop which displays the items found>> [hideif [sect][prod]=FF]> [loop start=1&end=[level]] [/loop]> [cart]&[loop> start=1&end=[level]]id[index]=[interpret][id[index]][/interpret]&[/loo> p]id[math][level]+1[/math]=[s_id]&startat=1&--woSECTIONSdatarq=[s_id]&> --SECTIONSword=ww1>[S_NAME]
> [/hideif]>> It appears to display these items randomly as it doesnt matter where> they are in the database or what order you add additional items.>> Its driving us all crazy>> >Paul Berman wrote:> >> > > With webcat 4 using the store builder how do I sort the products> >found by cost> > >> >> >The search params you are after look like this:> >> >[search... &field1sort=1&field1sdir=as&field1type=num...]> >[/search]> >> >I don't know about storebuilder, so look for the search command or> >context that is do> >the finding of the records you want to sort by cost/price, and add> >params like what I> >showed.> >> >Ask for more if you are confused.> >> >-John> >> >> >-------------------------------------------------------------> >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/>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
John Butler
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:
referrer usage (1997)
Nt's Latest? (1997)
Multiple prices (1997)
Need correct syntax for writing to header2 (1999)
WebCatalog 2.0 b 15 mac (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
date stamp (2003)
WebCat2 - Getting to the browser's username/password data (1997)
[quantity] within formulas (1997)
Emailer setup (1997)
RE: New WebCatalog Version !!! (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
[ot] New List. Was: Webcat no longer supported? (2006)
Quit revisited (1997)
New York City sales tax database needed (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
ReturnRaw and redirect (1997)
[isfile] ? (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)