- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Content Teaser
Template Tag: Item Content Teaser
This tag displays only the teaser part for a given Item.
Example
Quick Template
[Item:content_teaser|before=<div class="someclass">|after=</div>]
PHP Template
$Item->content_teaser( array(
'before' => '',
'after' => '',
'disppage' => '#',
'stripteaser' => '#',
'format' => 'htmlbody',
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before the teaser part |
|
|
Displayed after the teaser part |
|
|
Page number to display specific page, |
|
|
Use |
|
|
Format to output. Possible values: |
Return value
This tag displays content only, it does not have a return value.