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 Guys,
I have a comment form runing under v4.7.1 but I want all comments to be Approved before being visible on the website. Under my Setting Mode in contour section i have Manual Approval checked but still even Submitted Comments are visible.
Somehow i changed the Xslt to
<xsl:variable name="records" select="umbraco.contour:GetApprovedRecordsFromPage(@id)/uformrecord[state = 'Approved']"/>
But nothing is showing up now!!!
Any suggestions on this?
//fuji
Hi Fuji,
That should work, what does the rest of your XSLT look like?
Are you maybe trying to select uformrecord in your for-each? You won't need to since you are doing it above, ie
<xsl:for-each select="$records">
If that's not the case you can also try looking at the XML to make sure it's correct
<textarea><xsl:copy-of select="$records"/></textarea>
-Tom
Hey Tom,
Its working, in my loop i was calling the uformrecord again so this was giving me all the records been submitted and Approved at same.
Anyway here is the solution if someone needs it.
<xsl:variable name="records" select="umbraco.contour:GetApprovedRecordsFromPage($currentPage/@id)/uformrecord[state = 'Approved']" /><xsl:for-each select="$records">.....</xsl:for-each>
But thanks for pointing out.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Manual Approval not working
Hi Guys,
I have a comment form runing under v4.7.1 but I want all comments to be Approved before being visible on the website. Under my Setting Mode in contour section i have Manual Approval checked but still even Submitted Comments are visible.
Somehow i changed the Xslt to
But nothing is showing up now!!!
Any suggestions on this?
//fuji
Hi Fuji,
That should work, what does the rest of your XSLT look like?
Are you maybe trying to select uformrecord in your for-each? You won't need to since you are doing it above, ie
If that's not the case you can also try looking at the XML to make sure it's correct
-Tom
Hey Tom,
Its working, in my loop i was calling the uformrecord again so this was giving me all the records been submitted and Approved at same.
Anyway here is the solution if someone needs it.
But thanks for pointing out.
//fuji
is working on a reply...