--- sites/all/modules/footermap/footermap.module 2008-07-21 18:22:06.000000000 -0700 +++ sites/all/modules/footermap/footermap_as_block.module 2009-05-20 12:29:16.000000000 -0700 @@ -115,11 +115,26 @@ } // function footermap_menu_link_alter +function footermap_block($op='list', $delta=0, $edit = array()) { + if ($op == "list") { + $blocks[0]["info"] = t('Footermap'); + return $blocks; + } else if ($op == 'view') { + switch($delta) { + case 0: + $block['subject'] = ''; + $block['content'] = footermap_block_content(); + break; + } + return $block; + } +} + /* * Declare footer hook * @return string A string containing HTML to be inserted */ - function footermap_footer($main=0) + function footermap_block_content($main=0) { /* base mid changed to '0' in 5.x? */ /* is there a way of getting this dynamically in 4.x and 5.x consistently? */