Custom Region - what am I doing wrong?

mgladding - September 16, 2009 - 18:46
Project:Marinelli
Version:6.x-2.96
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I created 2 custom regions for the footer - "Footer Left" and "Footer Right." Only "Footer Left" shows up in admin>build>block>list.

Here's the code from my template.php file:

function marinelli_regions() {
    return array(
        'sidebarleft' => t('Left sidebar'),
        'sidebarright' => t('Right sidebar'),
        'content' => t('Content'),
'footerleft' => t('Footer left'),
'footerright' => t('Footer right'),
'footer' => t('Footer'),
    );
}

Here's the page.tpl.php file (pertinent section):

<div id="footer">
  <div class="left"> <?php print $footerleft; ?> </div>
  <div class="right"> <?php print $footerright; ?> </div>
  <?php print $footer ?>
  <?php print $footer_message ?></div>

And here's the info file:

; $Id: marinelli.info,v 1.3 2008/09/18 21:28:29 lioz Exp $

name = Marinelli

description = A fresh 3-column layout for Drupal. Still usable over 4000m!

version = VERSION

core = 6.x

engine = phptemplate

stylesheets[all][] = layout.css
stylesheets[all][] = graphics.css
stylesheets[all][] = typography.css
stylesheets[all][] = links.css


regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[footerleft] = Footer left
regions [footerright] = Footer right
regions[footer] = Footer


; Information added by drupal.org packaging script on 2008-04-04
version = "6.x-1.7"
core = "6.x"
project = "marinelli"
datestamp = "1207295410"


; Information added by drupal.org packaging script on 2009-08-25
version = "6.x-2.96"
core = "6.x"
project = "marinelli"
datestamp = "1251185475"

Can anyone see something I left out? Any syntax typos? Anything?

Thanks in advance for your help!

 
 

Drupal is a registered trademark of Dries Buytaert.