Copied to clipboard

Flag this post as spam?

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


  • Mikael Mørup 297 posts 326 karma points
    Aug 17, 2009 @ 08:21
    Mikael Mørup
    0

    Changing the order of individual datatype elements

    I have a checkbox list datatype, that i added another checkbox to. I want to move the new checkbox up so i is not displayed as the last one when the page is edited.

    I can see in the DB that the datatypeprevalues table has a sort order field, but all rows in the table has "0" in sort order, is it not used?

    Is there another way i can change the display / sort order of the checkboxes in the list ?

    I already have data in the site so i can't just delet the checkboxes an recreate them in the correct order.

    Thanks

    Mikael

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 17, 2009 @ 09:16
    Dirk De Grave
    0

    It can be used, but it's not used by default.... try changing the sortorder value in the database directly, sql statement that retrieves the values does take the sortorder into account, so it should work that way!

     

    Cheers,

    /Dirk

  • Mikael Mørup 297 posts 326 karma points
    Aug 17, 2009 @ 10:36
    Mikael Mørup
    0

    Thanks Dirk

     

    I tried to put integer values in the sort order field, but it doesent seem to have any effect.

    I stopped and restarted the site, and i tried to republish the entire site, but still no effect.

    Is thee anything else i need to do to make it work?

    Mikael

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies