The block deltas in forward_block_info() are listed as delta-0 and delta-1 but the switch statements in the the configure and view hooks refers to 'stats' and 'form' therefore the blocks never show. forward_block_info should look like this:

function forward_block_info() {
  // TODO Rename block deltas (e.g. delta-0) to readable strings.
  $blocks = array();
  $blocks['stats']['info'] = t('Most Emailed');
  $blocks['form']['info'] = t('Forward');
  return $blocks;
}

Comments

john.oltman’s picture

Assigned: Unassigned » john.oltman

Good catch. Looking into it, the problems with the blocks are deeper than that. Working on it. Might be a day or two before this one is solved.

john.oltman’s picture

Status: Active » Needs review

Ok, just committed change to D7 branch. Pull down the 7.x DEV release once that is built later today, and let me know if the blocks work. Thanks.

john.oltman’s picture

Status: Needs review » Fixed

Included in 7.x-1.2 release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.