Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Uros Sankovic 107 posts 134 karma points
    Jun 21, 2010 @ 10:42
    Uros Sankovic
    0

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 21, 2010 @ 12:10
    Dirk De Grave
    0

    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

  • Uros Sankovic 107 posts 134 karma points
    Jun 21, 2010 @ 12:35
    Uros Sankovic
    0

    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

     

     

  • Uros Sankovic 107 posts 134 karma points
    Jun 21, 2010 @ 12:42
    Uros Sankovic
    0

    I'm thinking getting QueryStrings and then using them in XSLT. I don't know if that is possible,but I'm googling :)

  • Uros Sankovic 107 posts 134 karma points
    Jun 21, 2010 @ 13:00
    Uros Sankovic
    0

    And I'm planning to use jquery for building the drop down menu

Please Sign in or register to post replies

Write your reply to:

Draft