Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Tim,
can you please tell me how to sort the uComments by latest comment.
also, if there is any detailed information you can give on the pagination using razor please?
thanks
Roger
Comment author was deleted
For sorting you'll need to update the xslt file and add a xsl:sort
<xsl:sortselect="@created"order="descending"/>
Place that under the <xsl:for-eachselect="$comments">
Works perfect thanks Tim.
I'm not that great at Razor, are there any tips you can give me on adding the pagination?
Many thanks in advance
Yeah might be easier to do in xslt since there is no razor library or comment objects you can use, you'll have to do direct db calls
For xslt check out these examples http://www.nibble.be/?p=11
Ah or check out http://our.umbraco.org/projects/collaboration/ucomment/using-ucomment/19347-UComment-and-Razor
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
UComment sorting
Hi Tim,
can you please tell me how to sort the uComments by latest comment.
also, if there is any detailed information you can give on the pagination using razor please?
thanks
Roger
Comment author was deleted
For sorting you'll need to update the xslt file and add a xsl:sort
Place that under the <xsl:for-eachselect="$comments">
Works perfect thanks Tim.
I'm not that great at Razor, are there any tips you can give me on adding the pagination?
Many thanks in advance
Roger
Comment author was deleted
Yeah might be easier to do in xslt since there is no razor library or comment objects you can use, you'll have to do direct db calls
For xslt check out these examples http://www.nibble.be/?p=11
Comment author was deleted
Ah or check out http://our.umbraco.org/projects/collaboration/ucomment/using-ucomment/19347-UComment-and-Razor
is working on a reply...