- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Template Tag: Comment Excerpt
Template Tag: Comment Excerpt
This template tag displays an (automatic) excerpt of the current Comment.
Example
Quick Template
[Comment:excerpt|format=htmlbody|maxlen=254|tail=…]
PHP Template
$Comment->get_excerpt( array(
'format' => 'htmlbody',
'maxlen' => 254,
'tail' => '…'
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Format to output. Possible values: |
|
|
Maximum length of the excerpt. |
|
|
Displayed after the excerpt if it has been truncated to the |
Return value
This tag displays content only, it does not have a return value.