- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Template Tag: Comment Content
Template Tag: Comment Content
This tag displays the content of the current Comment.
Examples
Quick Template
[Comment:content|
    format=htmlbody|
    ban_urls=false|
    show_attachments=false|
    before_image=<div class="evo_image_block">|
    after_image=</div>|
    image_size=fit-400x320]PHP Template
$Comment->content( 'htmlbody', false, false, array(
    'before_image' => '<div class="evo_image_block">',
    'after_image'  => '</div>',
    'image_size'   => 'fit-400x320',
  ) );
Parameters
| Param | Default | Usage | 
|---|---|---|
| 
 | 
 | Format to output. Possible values:  | 
| 
 | 
 | Set to  | 
| 
 | 
 | Set to  | 
| 
 | 
 | Displayed before each image in comment. | 
| 
 | 
 | Displayed before each image caption. | 
| 
 | 
 | Displayed after each image caption. | 
| 
 | 
 | Displayed after each image in the comment. | 
| 
 | 
 | Size of images in the comment. See Image Sizes. | 
| 
 | 
 | CSS class applied to images in the comment. | 
| 
 | 
 | Text below attached pictures | 
| 
 | 
 | Possible values:  | 
| 
 | 
 | 
Return value
This tag displays content only, it does not have a return value.
 
							