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:
Bug Report, maybe (1997)
Monthly Reports (2000)
WebCatb15 Mac CGI -- [purchase] (1997)
Replacing a price with text (1998)
show all problem (1997)
Slightly OT: [sendmail] help (2003)
Re:need help please (1997)
Email Newsletters (2003)
template not found error (1998)
RE: [WebDNA] Putting '&search' into URL killing all search contexts on my sites (2010)
searchable list archive (1997)
Running 2 two WebCatalog.acgi's (1996)
Need Sample Template - just purchased (1997)
[WebDNA] Crashing Database (2011)
Math with Time (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Summing fields (1997)
WebCatalog2 Feature Feedback (1996)
NT version and O'reily's WebSite (1997)
[WebDNA] Shared POP download (2010)