Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Mar 28, 2011 @ 13:54
    dominik
    0

    How can i get the value of the sort order functionality of Repeatable Custom Content v2?

    I tried:

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

    But this does not work

    
    
                    
  • Tom Fulton 2030 posts 4998 karma points c-trib
    Mar 28, 2011 @ 14:20
    Tom Fulton
    0

    Hi dominik,

    I don't believe the sortorder is included anywhere in the XML schema that RCC uses.  However you shouldn't need it, it (should) return the items in the order they are sorted in the control.

    If you need to output a sort order to something else you could use <xsl:value-of select="position()"/> to output the current position in the loop

    -Tom

Please Sign in or register to post replies

Write your reply to:

Draft