3rd sidebar region in Bluebreeze

drupalina - June 7, 2007 - 20:17

I'm trying to build a new theme by modyfying Bluebreeze (fluid version). Importantly, I want to have 1 sidebar on the left and 2 sidebars on the Right.
I've read whatever documentation and forum articles that I could find, and the procedure seems to be a very simple 2 step procedure. Yet it doesn't seem to work with Bluebreeze theme.
Any help on how to achieve this 3rd sidebar on the right handside???

additional info

drupalina - June 7, 2007 - 23:44

As some additional info: of course, I have added 'second_right' => t('second right sidebar') inside template.php , and of course I have altered the title of the theme accordingly. So the "Second Right Sidebar" shows successfully in Blocks section of the Admin.
However, I'm totally confused as to what to do inside the page.tpl.php file. I have added

  <div id="second_right">
<?php print $second_right ?>
</div>
, as most of the instructions say I should do, but what this does is send all the content of this new intended sidebar to the left and below the main content.

It looks like changing page.tpl.php inside Bluebreeze theme is not that simple. There is a strange code in bluebreeze which originally looks like this :

<body id="<?php if ($is_front) { print 'home'; } else { print 'second'; } ?>">
  <div id="page" class="<?php if ($sidebar_left || $sidebar_right) { print "one-sidebar"; } if ($sidebar_right && $sidebar_left) { print " two-sidebars"; }?>">

and I have changed it to this:
<body id="<?php if ($is_front) { print 'home'; } else { print 'second'; } ?>">
  <div id="page" class="<?php if ($sidebar_left || $sidebar_right) { print "one-sidebar"; } if ($sidebar_right && $sidebar_left) { print " two-sidebars"; } if ($sidebar_right && $sidebar_left && $sidebar_second_right) { print " three-sidebars"; }?>">

but that doesn't seem to help.

Also, in addition to the original

<?php if ($sidebar_left): ?>
        <div id="sidebar-left" class="sidebar">
          <?php print $search_box ?>    
          <?php print $sidebar_left ?>
        </div>
      <?php endif; ?> 

      <?php if ($sidebar_right): ?>
        <div id="sidebar-right" class="sidebar">
          <?php print $sidebar_right ?>
        </div>
      <?php endif; ?>

I have added almost identical
<?php if ($sidebar_second_right): ?>
        <div id="sidebar-second-right" class="sidebar">
          <?php print $sidebar_second_right ?>
        </div>
      <?php endif; ?>

But that doesn't seem to work either.

Should I do anything else in layout.css and style.css???

I'm totally confused. Please help.

 
 

Drupal is a registered trademark of Dries Buytaert.