Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
john.oltman CreditAttribution: john.oltman commentedGood 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.
Comment #2
john.oltman CreditAttribution: john.oltman commentedOk, 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.
Comment #3
john.oltman CreditAttribution: john.oltman commentedIncluded in 7.x-1.2 release