how to add my custom template of heatbeat d7+heratbeat version = "7.x-1.1" 

I have a module named "love.module"
in love.module

/**
 * Implement hook_ctools_plugin_api().
 *
 * This hook is needed to let ctools know about exportables.
 * @see heartbeat_og_ctools_plugin_api
 */
function love_ctools_plugin_api($module, $api) {
  if ($module == 'love' &amp;&amp; $api == 'love') {
    return array('version' =&gt; 1);
  }
}


and I have a file name love.heartbeat.inc,

    &lt;?php
/**
 * Implements hook_heartbeat_template_info().
 */
function love_heartbeat_template_info() {
  watchdog('-call', 'message', array(), WATCHDOG_NOTICE, 'link');
$heartbeatmessagetemplate = new HeartbeatMessageTemplate();
$heartbeatmessagetemplate-&gt;disabled = FALSE; /* Edit this to true to make a default heartbeatmessagetemplate disabled initially */
$heartbeatmessagetemplate-&gt;api_version = 1;
$heartbeatmessagetemplate-&gt;message_id = 'heartbeat_add_comment2';
$heartbeatmessagetemplate-&gt;description = 'user replied on some content';
$heartbeatmessagetemplate-&gt;message = '&lt;span&gt;!username replied on !title:&lt;/span&gt;&lt;blockquote&gt;&lt;div&gt;!comment&lt;/div&gt;&lt;/blockquote&gt;';
$heartbeatmessagetemplate-&gt;message_concat = '%username% replied on !title.';
$heartbeatmessagetemplate-&gt;perms = 2;
$heartbeatmessagetemplate-&gt;group_type = 'summary';
$heartbeatmessagetemplate-&gt;concat_args = array(
  'group_by' =&gt; 'node',
  'group_target' =&gt; 'username',
  'group_by_target' =&gt; 'title',
  'group_num_max' =&gt; '5',
  'merge_separator' =&gt; ', ',
  'merge_end_separator' =&gt; ' and ',
  'roles' =&gt; array(
    1 =&gt; 0,
    2 =&gt; 0,
    3 =&gt; 0,
    4 =&gt; 0,
    5 =&gt; 0,
  ),
);
$heartbeatmessagetemplate-&gt;variables = array(
  '!username' =&gt; '',
  '!title' =&gt; '',
  '!comment' =&gt; '',
);
$heartbeatmessagetemplate-&gt;attachments = array(
  'buttons' =&gt; array(
    'weight' =&gt; array(
      'activitycomments' =&gt; '-9',
      'flagattachment:like' =&gt; '0',
    ),
    'settings' =&gt; array(
      'activitycomments' =&gt; array(
        'activitycomments_node' =&gt; 0,
      ),
    ),
    'enabled' =&gt; array(
      'activitycomments' =&gt; 0,
      'flagattachment:like' =&gt; 0,
    ),
  ),
  'content' =&gt; array(
    'weight' =&gt; array(
      'activitycomments' =&gt; '-9',
      'flagattachment:like' =&gt; '0',
    ),
    'enabled' =&gt; array(
      'activitycomments' =&gt; 0,
      'flagattachment:like' =&gt; 0,
    ),
  ),
);


  return $heartbeatmessagetemplate;
}


but the hook didn't called.who can help me?
did I miss somthing?
I had the same problem and what you should do is replace 

/**
 * Implement hook_ctools_plugin_api().
 *
 * This hook is needed to let ctools know about exportables.
 * @see heartbeat_og_ctools_plugin_api
 */
function love_ctools_plugin_api($module, $api) {
  if ($module == 'love' &amp;&amp; $api == 'love') {
    return array('version' =&gt; 1);
  }
}


by 

/**
 * Implement hook_ctools_plugin_api().
 *
 * This hook is needed to let ctools know about exportables.
 * @see heartbeat_og_ctools_plugin_api
 */
function love_ctools_plugin_api($module, $api) {
  if ($module == 'heartbeat' &amp;&amp; $api == 'heartbeat') {
    return array('version' =&gt; 1);
  }
}


and after a cache flush, it should appear in heartbeat templates