After installing the demo_reset module I get an error in the blocks admin interface saying that the demo_reset block is disabled because it is assigned to the region 'right' which doesn't exist or something to that extent. The demo_reset block is hence nowhere to be found.

I have no region named 'right' in my theme, I have 'right1' and 'right2'. The demo_reset automatically assigns its block to the region 'right' which prohibits from using the block. I think it'd be a good idea to throw away the two lines of code that automatically enables the block:

In demo_reset.module the lines 120 and 121 are the problem:

'status' => 1,
'region' => 'right',

Removing them makes it work for themes without a 'right' region. People may then choose for themselves to which region the block should be assigned.

Marcus

Comments

sun’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting, reviewing, and testing!

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

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