Hi,

Thanks for this module, it's working a treat for me apart for one little niggle. When I first created my node and set "Create a block for this node?" to true the region list is empty which at first didn't bother me as I went into the blocks list and just moved it to the correct location. However, it became a bit more of a problem when updating the node as the region was lost and I had to place the block back in the correct place again.

I traced the code and I think the problem lies here around line 198-203 in nodeasablock.module:

    $allowed_regions = array(BLOCK_REGION_NONE => '<'. t('none') .'>');
    foreach (variable_get("nodeasblock_region_". $node->type, array()) as $region) {
      if (array_key_exists($region, $theme_regions)) {
        $allowed_regions[$region] = $theme_regions[$region];
      }
    }

Has somebody fixed this? If not I'll go ahead an give it ago myself.

Regards
Steve