Hi there,

is it possible to move a region to another place?
I would like to have the region "left-sidebar2 to the left side. I mean like:

left-sidebar <> content <> right-sidebar

is there a way to do it?

Would be really nice if you can give me a suggestion how to do this.
Thanks a lot, have a nice day and sorry for the bad english

Regards,
Tim

Comments

ericjam’s picture

Status: Active » Closed (fixed)

Regions are called in the page.tpl.php file that look like this

<?php print $left-sidebar2; ?>

Move them around the page as you please though do be careful if some have IF conditions attached to them, make sure to move the code intact:

          <?php if ($secondary_links): ?>
            <div id="secondary">
              <?php print theme('links', $secondary_links); ?>
            </div> <!-- /#secondary -->
          <?php endif; ?>

For what you propose just solve via DIVs like

<div id="left"> <?php print $left; ?> </div>
<div id="center"> <?php print $content; ?></div>
<div id="right"> <?php print $right; ?></div>

Thats an *example* btw, make sure your region names match up with .info