I have a weird issue with contour when adding a comment to my page. When adding a comment and after approving the comment in contour section i cant get the comment to display on my page. Only the name of the member is being displayed.
However the comments just stopped working, Old comments a week ago is being displayed but not new comments.
<!-- Display the number of records --> <divid="recordscount"> <xsl:choose> <xsl:whentest="count($records) = 0"> (0) comments </xsl:when> <xsl:whentest="count($records) = 1"> (1) comment </xsl:when> <xsl:otherwise> (<xsl:value-ofselect="count($records)"/>) Comments </xsl:otherwise> </xsl:choose>
<divid="records">
<!-- Loop all records --> <xsl:for-eachselect="$records"> <divclass="record"> <divclass="commentTxt"> <!-- Display 'Comment' field of the record, make sure there is a field called 'Comment' on the form --> <xsl:value-ofselect="umbraco.library:ReplaceLineBreaks(.//fields/comment//value)"disable-output-escaping="yes"/> </div> <!-- Display 'Name' field of the record, make sure there is a field called 'Name' on the form --> <divclass="postBy"> Posted by : <span><xsl:value-ofselect=".//fields/name//value"/> </span>- <xsl:value-ofselect="umbraco.library:FormatDateTime(./created, 'dddd, MMMM dd, yyy hh:mm tt')"/> </div> </div> </xsl:for-each>
Comments in Contour not displaying anymore
Hi All,
I have a weird issue with contour when adding a comment to my page. When adding a comment and after approving the comment in contour section i cant get the comment to display on my page. Only the name of the member is being displayed.
However the comments just stopped working, Old comments a week ago is being displayed but not new comments.
Here is how my xslt looks like
Anyone???
How does it look in the entries viewer?
Did someone rename the fields, that might be causing the issue
Hi Tim,
I can see the comments in the Entries Viewer. All Comments need to be approved first but nothing is being displayed.
Got it working.....i just remember changing the caption of my Comment Text Area but not updating it in my xslt!!!!
Thanks
Great, thought it would be that ;)
is working on a reply...
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.