Re: sort links

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44731
interpreted = N
texte = Hmmm, ok, cool...maybe I misunderstood your original request...at any rate, I built a working model and kept it bare-bones simple so you could add to it however you want if it turns out you need it: http://www.stronggraphicdesign.com/test/sort/-DanOn Fri, 01 Nov 2002 19:29:55 -0800 Ken MacMurchy wrote: >Dan, I have it working using a post method and JS. > >
>[formvariables][hideif [name]^sort]value=[value] >[/hideif][/formvariables] > > >
>
>[formvariables][hideif [name]^sort]value=[value] >[/hideif][/formvariables] > > >
> >Links are like: > >CATEGORY > >I'll need to play with it to get it to change directions. > >Thanks a bunch. >====================================== >Cheers! > >Ken MacMurchy >web developer >email: ken.macmurchy@leaderpost.com >web: http://www.leaderpost.com >306-565-8299 >1964 Park St. >Regina, SK, Canada >S4P 3G4 >> From: Dan Strong >> Reply-To: (WebCatalog Talk) >> Date: Fri, 01 Nov 2002 17:07:24 -0800 >> To: (WebCatalog Talk) >> Subject: Re: sort links >> >> post your [search] string. >> >> On Fri, 01 Nov 2002 18:57:17 -0800 >> Ken MacMurchy wrote: >>> It doesn't pass all the variables to rebuild the search so I just get a >>> blank page. >>> >>>> From: Dan Strong >>>> Reply-To: (WebCatalog Talk) >>>> Date: Fri, 01 Nov 2002 16:35:42 -0800 >>>> To: (WebCatalog Talk) >>>> Subject: Re: sort links >>>> >>>> your.db: >>>> ----------- >>>> FIELD_1FIELD_2FIELD_3FIELD_4 >>>> records.....blah >>>> >>>> results.html: >>>> ---------------- >>>> [showif [sort]=]sort=FIELD_1[/showif] >>>> [search db=your.db&whatever=whatever&[sort]sort=1&[sort]sdir=de] >>>> sort by FIELD_1 >>>> sort by FIELD_2 >>>> sort by FIELD_3 >>>> sort by FIELD_4 >>>> [founditems] >>>> [FIELD_1] [FIELD_2] [FIELD_3] [FIELD_4]
>>>> [/founditems] >>>> [/search] >>>> >>>> Quick and Dirty, juast like you ordered :) HTH >>>> >>>> -Dan >>>> ------------------------------------------- >>>> http://www.StrongGraphicDesign.com >>>> (208) 319-0137 | Toll-free p/f 877-561-1656 >>>> Private email: art@StrongGraphicDesign.com >>>> >>>> >>>> On Fri, 01 Nov 2002 17:57:03 -0800 >>>> Ken MacMurchy wrote: >>>>> Does anyone have a quick and dirty way to resort a set of [founditems] on a >>>>> results page by clicking on a field link? >>>>> >>>>> I have 4 fields and I want the user to be able to click on any one as a hot >>>>> link and have the page rebuild with that field being the sort priority. >>>>> >>>>> TIA >>>>> >>>>> Ken M >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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/ >> >> ------------------------------------------- >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> Private email: art@StrongGraphicDesign.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/------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 Private email: art@StrongGraphicDesign.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:

    
  1. Re: sort links (Dan Strong 2002)
  2. Re: sort links (ken.macmurchy 2002)
  3. Re: sort links (Dan Strong 2002)
  4. Re: sort links (Ken MacMurchy 2002)
  5. Re: sort links (Ken MacMurchy 2002)
  6. Re: sort links (Dan Strong 2002)
  7. Re: sort links (Ken MacMurchy 2002)
  8. Re: sort links (Dan Strong 2002)
  9. Re: sort links (Ken MacMurchy 2002)
  10. Re: sort links (Dan Strong 2002)
  11. sort links (Ken MacMurchy 2002)
Hmmm, ok, cool...maybe I misunderstood your original request...at any rate, I built a working model and kept it bare-bones simple so you could add to it however you want if it turns out you need it: http://www.stronggraphicdesign.com/test/sort/-DanOn Fri, 01 Nov 2002 19:29:55 -0800 Ken MacMurchy wrote: >Dan, I have it working using a post method and JS. > >
>[formvariables][hideif [name]^sort]value=[value] >[/hideif][/formvariables] > > >
>
>[formvariables][hideif [name]^sort]value=[value] >[/hideif][/formvariables] > > >
> >Links are like: > >CATEGORY > >I'll need to play with it to get it to change directions. > >Thanks a bunch. >====================================== >Cheers! > >Ken MacMurchy >web developer >email: ken.macmurchy@leaderpost.com >web: http://www.leaderpost.com >306-565-8299 >1964 Park St. >Regina, SK, Canada >S4P 3G4 >> From: Dan Strong >> Reply-To: (WebCatalog Talk) >> Date: Fri, 01 Nov 2002 17:07:24 -0800 >> To: (WebCatalog Talk) >> Subject: Re: sort links >> >> post your [search] string. >> >> On Fri, 01 Nov 2002 18:57:17 -0800 >> Ken MacMurchy wrote: >>> It doesn't pass all the variables to rebuild the search so I just get a >>> blank page. >>> >>>> From: Dan Strong >>>> Reply-To: (WebCatalog Talk) >>>> Date: Fri, 01 Nov 2002 16:35:42 -0800 >>>> To: (WebCatalog Talk) >>>> Subject: Re: sort links >>>> >>>> your.db: >>>> ----------- >>>> FIELD_1FIELD_2FIELD_3FIELD_4 >>>> records.....blah >>>> >>>> results.html: >>>> ---------------- >>>> [showif [sort]=]sort=FIELD_1[/showif] >>>> [search db=your.db&whatever=whatever&[sort]sort=1&[sort]sdir=de] >>>> sort by FIELD_1 >>>> sort by FIELD_2 >>>> sort by FIELD_3 >>>> sort by FIELD_4 >>>> [founditems] >>>> [FIELD_1] [FIELD_2] [FIELD_3] [FIELD_4]
>>>> [/founditems] >>>> [/search] >>>> >>>> Quick and Dirty, juast like you ordered :) HTH >>>> >>>> -Dan >>>> ------------------------------------------- >>>> http://www.StrongGraphicDesign.com >>>> (208) 319-0137 | Toll-free p/f 877-561-1656 >>>> Private email: art@StrongGraphicDesign.com >>>> >>>> >>>> On Fri, 01 Nov 2002 17:57:03 -0800 >>>> Ken MacMurchy wrote: >>>>> Does anyone have a quick and dirty way to resort a set of [founditems] on a >>>>> results page by clicking on a field link? >>>>> >>>>> I have 4 fields and I want the user to be able to click on any one as a hot >>>>> link and have the page rebuild with that field being the sort priority. >>>>> >>>>> TIA >>>>> >>>>> Ken M >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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/ >> >> ------------------------------------------- >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> Private email: art@StrongGraphicDesign.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/------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 Private email: art@StrongGraphicDesign.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/ Dan Strong

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:

.. more on sliding discounts... (1997) More Applescript (1997) WebDNA Payment Alternatives (2003) The Best Shopping Cart Solution I Have Come Upon (2003) Template cache problem with WC4 on Mac OS X (2000) Encyption mail was Suggestions for Topics ... (1998) can WC render sites out? (1997) Help! WebCat2 bug (1997) show all problem (1997) Trouble with formula.db (1997) system crashes, event log (1997) Running 2 two WebCatalog.acgi's (1996) SQL db type (2006) Add Unit Ship Cost to Cart (2000) Simple way to create unique SKU (1997) Sorting Numbers (1997) Date and Time Math (1997) searchable list archive (1997) Force a search at the default.tmpl page? (1997) Running _every_ page through WebCat ? (1997)