Classification

The comment_name tag is a Single Tag. By default, Textpattern will replace this tag with a link using the commenter's name as text. If email address is supplied and allowed to be viewed, an email link is created. Otherwise, if a website is entered, the website URL is used. If neither is supplied, name displays as plain text. Commenter's name and/or email address can be set as a requirement. Used in a comments display form.

Syntax

The comment_name tag has the following syntactic structure…

<txp:comment_name />

Attributes

link="boolean"

Whether to display as link or plain text. Available values: 1 (yes) or 0 (no). Default is 1 (yes).

Examples

Comments Display Form

<txp:comment_message />
 
<p><small>&amp;#8212; <txp:comment_name /> <txp:comment_time /> 
	<txp:comment_permlink>#</txp:comment_permlink></small></p>

Other tags used: <comment_message />, <comment_permlink>, <comment_time />

txp/comment_name.txt · Last modified: 2008/02/02 06:56 by hcgtv

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