Comment permlink
Contents
Syntax
<txp:comment_permlink>
The comment_permlink tag is a container tag which is used to return the permanent link of the article comment being displayed. The container tag wraps the text assigned to the link. Should be used in Textpattern ‘comment’ type Form templates.
Attributes
Tag will accept the following attributes (case-sensitive) as well as the global attributes :
anchor="boolean"
- Whether to apply the comment’s ID number to the hyperlink tag (as the
id
attribute), setting this comment permanent link as the comment page anchor. - Values:
0
(no) or1
(yes). - Default:
0
.
Examples
Example 1: Comments display form
<txp:comment_message />
<p>
<txp:comment_name />
<txp:comment_time />
<txp:comment_permlink>
<txp:comment_id />
</txp:comment_permlink>
</p>
Other tags used: comment_id, comment_message, comment_name, comment_time.