- 	You must log in to create & edit posts.
- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Footer
Template Tag: Item Footer
This template tag displays a footer text below the Item.
This footer text can be edited by the collection owner in the admin interface under Blog Settings > Advanced > Meta Data.
Two different texts can be configured:
- One that displays in single post view. (That is when ‘mode’ is set to singleor to#)
- One that displays in RSS/Atom feeds. (That is when ‘mode’ is set to xml)
Example
Quick Template
[Item:footer|mode=single|block_start=<div class="footer">]
PHP Template
// Display Item footer text (text can be edited in Blog Settings):
$Item->footer( array(
    'mode'        => '#'       // Will detect 'single' from $disp automatically
    'block_start' => '<div class="item_footer">',
    'block_end'   => '</div>',
    'format'      => 'htmlbody',
  ) );
Parameters
| Param | Default | Usage | 
|---|---|---|
| 
 | 
 | Effective valid values are  | 
| 
 | 
 | Displayed before the text (if a footer text is displayed) | 
| 
 | 
 | Displayed after the text (if a footer text is displayed) | 
| 
 | 
 | Format to output. Possible values:  | 
Return value
This function returns false if there is no text defined for item footer.
If there is defined text then this function returns true and displays content.
 
							