Powered by MediaWiki
Personal tools

Tag item msgform link

From b2evolution manual

Jump to: navigation, search

This manual page is outdated. NEW PAGE: Tag Item Msgform Link in b2evolution v5+.

Display link to message form for this item's author.

Using this link you can send a message to the author.

[edit] Example

<source lang="php"> <?php

 $Item->msgform_link( array(
           'before'   => ' ',
           'after'    => ' ',
           'text'     => '#',
           'title'    => '#',
           'class'    => 
   ) );

?> </source>

[edit] Parameters

Name Default Usage
before (1 space) Displayed before the link.
after (1 space) Displayed after the link.
text '#' Link text, '#' for default. If 'text' is not '#' then link will be displayed instead email image.
title '#' Link title/alt, '#' for default.
class (no space) CSS class.

[edit] Return value

This function return false, if there is no email address for the item's author.
If there is email then this function return true and displays content.