Re: Sorting problem
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15033
interpreted = N
texte = >I am new to WebCatalog as you may guess from the following question.>I have a form here that allows customers to enter a keyword to search>for related images. I want the results to be sorted by sku, in ascending>order.>>I have text links that do similar things and they work fine. My question>is: Where do I insert &skusort=1&max=5&skudatasdir=as so the results>of the form are sorted and broken into groups of five?Hi Kevin,Welcome to WebCatalog! :)Your syntax needs a minor adjustment before you try to use it. Here,take a look at this example to see how I've added the sortingparameters to your search form.Also note that when you define the sorting direction (for example,skusdir=as) you do *not* use data in that parameter, becausedata is used only in the parameters that do the actual comparisons,not the sorting parameters:
Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>I am new to WebCatalog as you may guess from the following question.>I have a form here that allows customers to enter a keyword to search>for related images. I want the results to be sorted by sku, in ascending>order.>>I have text links that do similar things and they work fine. My question>is: Where do I insert &skusort=1&max=5&skudatasdir=as so the results>of the form are sorted and broken into groups of five?Hi Kevin,Welcome to WebCatalog! :)Your syntax needs a minor adjustment before you try to use it. Here,take a look at this example to see how I've added the sortingparameters to your search form.Also note that when you define the sorting direction (for example,skusdir=as) you do *not* use data in that parameter, becausedata is used only in the parameters that do the actual comparisons,not the sorting parameters:
Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Kenneth Grome
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:
SOP for WebDNA talk - MSNBot Crashing (2004)
WebCatalog NT beta 18 now available (1997)
Running a store on BOTH http and https (1998)
setting taxable to true (1997)
WC1.6 to WC2 date formatting (1997)
WebCat2 - [format thousands] (1997)
webdna osx server startupitem (2003)
Re:One more time (1997)
list items (1998)
Big Databases (1997)
Calendar (1997)
Setting up WebCatalog with Retail Pro data (1996)
My Eyes doth deceive me (2002)
UPDATE PROBLEM (1997)
XML Parse with XML WebDNA Syntax... (2004)
[WebDNA] showif/sendmail question (2008)
shipcost (1997)
international time (1997)
pull downs (1997)
[url] (1997)