here's the scenario. User clicks "ALL" and by default, it's sorted alphabetically. Then he has an option (drop down menu) to sort them according to some more criteria (category, etc.). What is the best way to do that in Umbraco?
Could you be a bit more specific as it's not clear to me what exactly you're asking for? And where the dropdown items, category data come from? is that umbraco data, or anything else. May use some real example for us to better understand your question.
You click "All products". By default they are sorted by "Function" (I'm thinking for columns in a row). In a dropdown menu you have options "A-Z", "Function" and "Category". Each product has an Umbraco field "Category" and "Function", for alphabetically sorting is the name of the product. These fields I want to use as index - that way I can sort them.
So based on that, the drop down menu is static - we don't add new items.
How to sort data by user?
Hi guys,
here's the scenario. User clicks "ALL" and by default, it's sorted alphabetically. Then he has an option (drop down menu) to sort them according to some more criteria (category, etc.). What is the best way to do that in Umbraco?
THX for your help.
Uros
Uros,
Could you be a bit more specific as it's not clear to me what exactly you're asking for? And where the dropdown items, category data come from? is that umbraco data, or anything else. May use some real example for us to better understand your question.
Cheers,
/Dirk
THX Dirk for your reply.
You click "All products". By default they are sorted by "Function" (I'm thinking for columns in a row). In a dropdown menu you have options "A-Z", "Function" and "Category". Each product has an Umbraco field "Category" and "Function", for alphabetically sorting is the name of the product. These fields I want to use as index - that way I can sort them.
So based on that, the drop down menu is static - we don't add new items.
Does that make any sense?
THX again
Uros
I'm thinking getting QueryStrings and then using them in XSLT. I don't know if that is possible,but I'm googling :)
And I'm planning to use jquery for building the drop down menu
is working on a reply...