How complicated it is to add additional regions to Garland theme? Is there a modified version of Garland available that has more regions?

I am looking for an elegant theme (something like Garland) for an academic website, but I need more regions. Other theme suggestions are more than welcome.

Comments

Eli Baskin’s picture

Forgot to mention - I am using Drupal 6.

timmillwood’s picture

very easy!

edit garland.info to contain the new regions.
Eg

regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content_top] = Content top
regions[content] = Content
regions[header] = Header
regions[footer] = Footer

and then edit page.tpl.php to include the region where you want it to display.
Eg

<?php if ($content_top): ?>
     <div id="content-top"><?php echo $content_top; ?></div> 
 <?php endif; ?>

----------------------------------------------------------------
IB Community Theme http://communitytheme.ibo.org
Spun Designs http://www.spundesigns.net
Millwood Online http://www.millwoodonline.co.uk

Eli Baskin’s picture

Works great with Garland, but fails with Zen-classic. Any idea why? :)

timmillwood’s picture

No idea why it fails, one of the most common problems I have had is getting names wrong so vaiables don't work.

I user http://www.drupal.org/project/basic rather than Zen, might be worth a look.

BNDAZ’s picture

my garland.info file does not contain ANY region info..is that normal?

Pradslion’s picture

Steps to be followed:

1) Add a region in your theme.info file. for eg: regions[new_region] = 'New Region'

2) Add below snippet within page.tpl.php file:

<?php if ($page['new_region']): ?>
     <div id="content-top"><?php print render($page['new_region']); ?></div> 
 <?php endif; ?>