Copied to clipboard

Flag this post as spam?

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


  • Tizer 170 posts 201 karma points
    Apr 20, 2011 @ 11:07
    Tizer
    0

    Sorting by sortOrder

    I've been using this to sort by the order in admin:

    <xsl:sort select="@sortOrder" order="ascending" data-type="number" />

    but it isn't actually taking the order of my nodes - there is one out of line.

    Any idea why that could be?

  • Bas Schouten 135 posts 233 karma points
    Apr 20, 2011 @ 11:13
    Bas Schouten
    0

    Hi Tizer,

    Sometimes you just have to reorder your nodes to set the sortorder again.

    I always check the sortOrder values to check if its neccesary.

    <xsl:value-of select="@sortOrder"/>

    Bas

  • Tizer 170 posts 201 karma points
    Apr 21, 2011 @ 02:08
    Tizer
    0

    That fixed is Bas - Thank you :)

  • 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