Each block is just a div. Use CSS to float them left/right, or some other "sideways" method of your choice.
In theory I suppose you could make each a table cell in block.tpl.php and then wrap them in a row/table in the page template, but that would get extremely ugly extremely fast and I don't recommend it. :-)
--Larry Garfield
On Mon, 12 Mar 2007 19:01:14 +0100, "Mattias Hällkvist" mattiasha@gmail.com wrote:
Thanks! I used page-front.tpl.php and it works great.
Although I'd like to have the blocks be side by side on the front page but the blocks get put ontop of eachother. How do I make them side by side on the front-page?
Cheers! /Mattias
On 3/12/07, Larry Garfield larry@garfieldtech.com wrote:
Just check the $is_front variable, which is set on any page.tpl.php (or derivative) template. That's much more stable than checking the URL directly.
Alternatively, use page-front.tpl.php, which automatically gets used for the front page in place of the normal page.tpl.php. Then simply omit
the
$sidebar_right statement entirely.
--Larry Garfield
On Mon, 12 Mar 2007 15:16:53 +0100, "Mattias Hällkvist" < mattiasha@gmail.com> wrote:
I'm trying to set different front page for anonymous and authenticated users using the front page module http://drupal.org/project/front. I'd
like
the frontpage to have the header but not the right sidebar. In
page.tpl.php
the right sidebar is defined as $sidebar_right. So I thought that I could
add
code to check if the url is domain.com/front_page and then not print $sidebar_right. Or some other solution that doesn't print the right sidebar on the front_page.
I'm a php novice but I'm learning.. I appreciate any help I can get.
Thanks! /Mattias
-- [ Drupal support list | http://lists.drupal.org/ ]