- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Author
Template Tag: Item Author
Displays the author/creator of Item. The tag can display not only the author/creator’s name but also their avatar.
This is a wrapper for calling User::get_identity_link() on the author of an Item.
Examples
Quick Template
[Item:author|before=<span class="author">|after=</span>|link_text=auto]
PHP Template
$Item->author( array(
'before' => ' ',
'after' => ' ',
'link_text' => 'preferredname',
'thumb_size' => 'crop-top-32x32',
'thumb_class' => '',
'thumb_zoomable' => false,
'login_mask' => '',
'display_bubbletip' => true,
'nowrap' => true,
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before the author name or avatar |
|
|
Displayed after the author name or avatar |
|
|
Possible values: |
|
|
Image size of the avatar |
|
|
Avatar image CSS class |
|
|
Do we want the avatar image to be zoomed in when clicked? |
|
|
|
|
|
Do we want to display a bubbletip on mouseover? |
|
|
Do we want to use |
Return value
This tag displays content only, it does not have a return value.