- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Msgform Link
Template Tag: Item Msgform Link
Display link to message form for this item’s author.
Using this link you can send a message to the author.
== Example ==
$Item->msgform_link( array(
'before' => ' ',
'after' => ' ',
'text' => '#',
'title' => '#',
'class' => ''
) );
== Parameters ==
* Name: before
* Default: (1 space)
* Usage: Displayed before the link.
* Name: after
* Default: (1 space)
* Usage: Displayed after the link.
* Name: text
* Default: ‘#’
* Usage: Link text, ‘#’ for default. If ‘text’ is not ‘#’ then link will be displayed instead email image.
* Name: title
* Default: ‘#’
* Usage: Link title/alt, ‘#’ for default.
* Name: class
* Default: (no space)
* Usage: CSS class.
== Return value ==
This function returns false, if there is no email address for the item’s author.
If there is email then this function return true and displays content.