hi,
I've searched for the answer but can't figure out how to enable the header block region in the Chameleon theme.

To the Chameleon.theme file, I've added:

$blocks_header = theme_blocks('header');

and

if ($show_blocks && !empty($blocks_header)) {
$output .= "

$blocks_header

\n";
}

But I can't get the header region to show.

Any help would be appreciated.

Thanks!

Comments

justinian’s picture

I also had to add the header name into the .info file :-)

cmypla’s picture

...to put this code:

if ($show_blocks && !empty($blocks_header)) {
$output .= " $blocks_header

\n";
}

below in the code of chameleon.theme file. For example, if it should be top block place it right at the top of body section, after the lines:

$output .= "\n";