txp:comments_error

The comments_error tag is a Single Tag which is used to produce the current comments error.

Syntax

The comments_error tag has the following syntactic structure…

<txp:comments_error />

Attributes

Tag will accept the following attributes (case-sensitive):

break="value"

(X)HTML tag (without brackets) or string used to separate list items. Default is br.

class="class name"

(X)HTML class attribute to be applied to wraptag. Default is comments_error.

wraptag="tag"

(X)HTML tag (without brackets) to wrap around list. Default is unset.

Examples

Display comments error when an error exists.

<txp:if_comments_error>
   <txp:comments_error break="li" wraptag="ul" />
</txp:if_comments_error>

Other tags used: <if_comments_error>

txp/comments_error.txt · Last modified: 2008/02/02 07:05 by hcgtv

Home Page | User Forums | Driven by DokuWiki
Copyright © 2008 xPattern