As sometimes a page doesn't have a title, instead of displaying an empty line, I suggest to display path as a title:

function clickpath_block($op = 'list', $delta = 0) {
 .
 .
 .
        if(!$title || $title=='') {
           $title = $path;
        }

        $list[] = l(_clickpath_truncate_title($title), $path, array('html' => TRUE));
      }

      $block['subject'] = t('Recently visited pages');
      $block['content'] = theme('item_list', $list);
      return $block;
    }
  }
}

Comments

chi’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue tags: +needs backport to 6.x

Why don't exclude this pages form block?