Textpattern CMS Template Tags

<txp:if_comments_preview /> container tag, 0 attributes

if_comments_preview

The if_comments_preview tag is a conditional tag and always used as an opening and closing pair, like this…

<txp:if_comments_preview>
...conditional statement...
</txp:if_comments_preview>

The tag will execute the contained statements if a comment is being previewed.

<txp:if_comments_preview /> 1 examples

Display text prompt when comment is previewed

<txp:if_comments_preview>
  <p>Please review your comment before submitting</p>
</txp:if_comments_preview>