Closed (fixed)
Project:
Forward
Version:
7.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
11 Oct 2011 at 23:59 UTC
Updated:
8 Nov 2011 at 04:10 UTC
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 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 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 commentedIncluded in 7.x-1.2 release