Go to main content

If comments error

Contents

Syntax

<txp:if_comments_error>

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

<txp:if_comments_error>
    …conditional statement…
</txp:if_comments_error>

The tag will execute the contained statements when an error exists with the comments.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

Example 1: Display comments error when an error occurs

<txp:if_comments_error>
    <txp:comments_error />
</txp:if_comments_error>

Other tags used: comments_error.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)