Copied to clipboard

Flag this post as spam?

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


  • daniel_sbbs 33 posts 52 karma points
    Mar 11, 2011 @ 13:12
    daniel_sbbs
    0

    xsl:for-each select="$currentPage/node only gets 499 nodes

    Our customer has a site with a xslt that lists all comments but it only displays 499 comments

    <xsl:for-each select="$currentPage/node [@nodeTypeAlias = 'BlogPostComment']">
       Show data
    </xsl:for-each>

    There is more than 500 subnodes of given Alias under the current page.

    Is there a limit???

  • daniel_sbbs 33 posts 52 karma points
    Mar 14, 2011 @ 07:45
    daniel_sbbs
    0

    No solution, just another umbraco bug?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 14, 2011 @ 07:57
    Jan Skovgaard
    0

    Hi Daniel

    How does the rest of the code look? Is there a <xsl:sort> element? I don't think it's an umbraco bug.

    /Jan

  • daniel_sbbs 33 posts 52 karma points
    Mar 14, 2011 @ 08:12
    daniel_sbbs
    0

    No, no sort just a li that output creation date and pagename

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 14, 2011 @ 08:56
    Jan Skovgaard
    0

    Hi Daniel

    Ok, but it's a bit hard to help you out if you don't show all of the code and tell a bit more about how the content is structured and where you place the macro. Please elaborate a bit more so this can get solved :-)

    /Jan

  • daniel_sbbs 33 posts 52 karma points
    Mar 14, 2011 @ 09:11
    daniel_sbbs
    0

    There is not much more to see.

    We have a pagetype A that accept subnodes B on the template of A we have the macro above that should list all B in an ol-list, it does but only the first 499 then it stops.

    Can add that the site is running in 4.0.1

     

Please Sign in or register to post replies

Write your reply to:

Draft