If comments preview

On this page:

Syntax

<txp: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.

Attributes

This tag has no attributes.

Examples

Example 1: Display text prompt when comment is previewed

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

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.