Last updated November 4, 2015. Created on November 18, 2012.
Edited by kkosinsk, sillygwailo, typhonius. Log in to edit this page.

How to use Block Title Link:

  1. Install the Block Title Link module the usual way at admin/build/modules.
  2. Navigate to the block configuration page of the block requiring a link in the title.
  3. Within the block title link settings fieldset enter at least the 'Title Path' for a link to be created. Ensure the 'Display Link' checkbox is checked to render the link.

How to alter panel block titles:

Place the following in your template.php

 * This provides block titlelink functionality to panels
function mytheme_preprocess_panels_pane(&$vars, &$pane) {
  if($vars['pane']->type == "block") {
    $subtype = $vars['pane']->subtype;
    $bt_delta = 'block_titlelink_' . preg_replace('/\-/', '_', $subtype, 1);
    $bt_vars = variable_get($bt_delta);
    if(!empty($bt_vars) && !empty($bt_vars['url']) && !empty($bt_vars['display'])) {
      $vars['title'] = l($vars['title'], $bt_vars['url'], array('html' => true));

Using Block Link Title with Menu Blocks:

If you use Menu Blocks and Block Title Link and wish to have your menu block title link to itself use the following:

Title Path: [current-page:url:args:first]

Looking for support? Visit the forums, or join #drupal-support in IRC.


ggevalt’s picture

UPDATED: Hi, I was, it turns out, able to get this to work in D7. This code, when placed in template.php file of your D7 theme, gives Block Title Link functionality to panels.

Thanks much.