Re: sort links
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44725
interpreted = N
texte = Ken,Cool. One thing I noticed in my previous post:[showif [sort]=]sort=FIELD_1[/showif]should obviously be:[showif [sort]=][text show=f]sort=FIELD_1[/text][/showif]I'm what they call a 'Short Bus' coder :)Good luck.-Dan-------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656Private email: art@StrongGraphicDesign.comOn Fri, 01 Nov 2002 18:42:45 -0800 Ken MacMurchy
wrote:>Thanks Dan, I'll give it a go.>>KM>>> 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/-------------------------------------------------------------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:
Ken,Cool. One thing I noticed in my previous post:[showif [sort]=]sort=FIELD_1[/showif]should obviously be:[showif [sort]=][text show=f]sort=FIELD_1[/text][/showif]I'm what they call a 'Short Bus' coder :)Good luck.-Dan-------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656Private email: art@StrongGraphicDesign.comOn Fri, 01 Nov 2002 18:42:45 -0800 Ken MacMurchy wrote:>Thanks Dan, I'll give it a go.>>KM>>> 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/-------------------------------------------------------------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:
no [search] with NT (1997)
maximum database size (2004)
Looking For WebCatalog Migration Assistance (2003)
[math] show=F exists? (1997)
read and write you own cookies with webcat (1997)
StoreBuilder help/question (2000)
Date or time comparisons have bugs ... (1998)
NT considerations (1997)
[Announce]: Web server security and password protection (1997)
date pref (1999)
[WebDNA] V7 Download (2011)
b12 cannot limit records returned and more. (1997)
Logging purchases (1997)
default value from Lookup (was Grant, please help me) (1997)
Multiple prices (1997)
WCS Newbie question (1997)
filtering extra characters from credit card numbers (2001)
Server Freeze (1998)
Credit card types (1997)
Re:E-mailer application times out (1998)