Header Block Filled with Array - Array!

ytownleader - April 13, 2007 - 18:32

In my theme, Gespaa, I'm trying to get all my links to the header above the banner, but for whatever reason, when I go to adminster-blocks; Header is nowhere to be found. Regardless, I still set 'Primary Links' to Header; and when I do that; I get a list of ARRAY - ARRAY - ARRAY in my header!

So my problems are as followed:
1) Drupal does not recognize the Header Block
2) My links are coming up as ARRAY - ARRAY - ARRAY.

Link: http://eguins.frihost.net/youngstown
It's supposed to be like: www.clevelandleader.com

Any HELP IS APPRECIATED!
Thanks

Same problem

personxx@groups... - May 28, 2007 - 12:04

I have the exact same problem... It seems to work with the default themes... But as soon as I create a custom theme I get the same message.

Example code:

<?php
function airrace_block($op='list', $delta=0) {
 
// listing of blocks, such as on the admin/block page
 
if ($op == "list") {
    
$block[0]["info"] = t('Manage Airrace Entries');
     return
$block;
  }
  else if(
$op == 'view') {
   
$block_content = l('Display Entries', 'entries');
  }
 
$block['subject'] = 'Entries Manager';
 
$block['content'] = $block_content;
 
  return
$block;

}
// end airrace_block
?>

 
 

Drupal is a registered trademark of Dries Buytaert.