Re: sort links

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44729
interpreted = N
texte = Dan, I have it working using a post method and JS.
[formvariables][hideif [name]^sort][/hideif][/formvariables]
[formvariables][hideif [name]^sort][/hideif][/formvariables]
Links are like: CATEGORYI'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/ 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)
Dan, I have it working using a post method and JS.
[formvariables][hideif [name]^sort][/hideif][/formvariables]
[formvariables][hideif [name]^sort][/hideif][/formvariables]
Links are like: CATEGORYI'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/ Ken MacMurchy

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:

Calendar (1997) Web Catalog not encrypting/decrypting problem (1998) Hello??? (1997) Sku numbers (1997) Using [detete] (1998) PCS Frames (1997) Make sure I understand this??? (1997) lookup limitation ? (2003) sendmail spaces (1997) Multiple Pulldowns (1997) Help name our technology! (1997) New Webcatalog for Mac (1997) Pithy questions on webcommerce & siteedit (1997) FTP FOLDER PERMISSIONS (2004) I give up!! (1997) For those of you not on the WebCatalog Beta... (1997) Separate SSL Server (1997) Protecting webdelivery (1997) Re1000001: Setting up shop (1997) Max Record length restated as maybe bug (1997)