txp:comments_preview

The comments_preview tag is a Single Tag. Textpattern will replace this tag with a preview of a visitor's comment.

Syntax

The comments_preview tag has the following syntactic structure…

<txp:comments_preview />

Attributes

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

id="article id"

The ID# of the article you want to view comments for. Default is current article.

form="value"

Default is comments.

class="class name"

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

wraptag="tag"

(X)HTML tag (without brackets) to wrap around list. Default depends upon Present Comments as a Numbered List? preference setting, either ol or unset.

Examples

Genealogy

Version 4.0.4

  • Use is necessary in comments display form comments_display, by default.

Version 4.0.3

  • Support added.
txp/comments_preview.txt · Last modified: 2008/02/02 07:12 by hcgtv

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