Powered by MediaWiki
Personal tools

Tag blog contact link

From B2evolution

Jump to: navigation, search

This template tag displays a link leading to the contact form for the owner of the current Blog.

[edit] Example

<?php
  // Display a link to contact the owner of this blog (if owner accepts messages):
  $Blog->contact_link( array(
      'before' => '',
      'after'  => '',
      'text'   => T_('Contact'),
      'title'  => T_('Send a message to the owner of this blog...'),
    ) );
?>

[edit] Parameters

Name Default Usage
before (1 space) Displayed before the link (if the link is displayed)
after (1 space) Displayed after the link (if the link is displayed)
text 'Contact' Text of the link
title 'Send a message to the owner of this blog...' Title of the link (appears in the tooltip box when you leave the mouse on the link)