Ok, thanks. But what php code do I use to print a specified block?<br><br>Thanks!<br>/Mattias<br><br><div><span class="gmail_quote">On 3/12/07, <b class="gmail_sendername">Larry Garfield</b> <<a href="mailto:larry@garfieldtech.com">
larry@garfieldtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Each block is just a div. Use CSS to float them left/right, or some other "sideways" method of your choice.
<br><br>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. :-)<br><br>
--Larry Garfield<br><br>On Mon, 12 Mar 2007 19:01:14 +0100, "Mattias Hällkvist" <<a href="mailto:mattiasha@gmail.com">mattiasha@gmail.com</a>> wrote:<br>> Thanks! I used page-front.tpl.php and it works great.
<br>><br>> Although I'd like to have the blocks be side by side on the front page but<br>> the blocks get put ontop of eachother. How do I make them side by side on<br>> the front-page?<br>><br>> Cheers!
<br>> /Mattias<br>><br>> On 3/12/07, Larry Garfield <<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a>> wrote:<br>>><br>>><br>>> Just check the $is_front variable, which is set on any
page.tpl.php (or<br>>> derivative) template. That's much more stable than checking the URL<br>>> directly.<br>>><br>>> Alternatively, use page-front.tpl.php, which automatically gets used for<br>
>> the front page in place of the normal page.tpl.php. Then simply omit<br>> the<br>>> $sidebar_right statement entirely.<br>>><br>>> --Larry Garfield<br>>><br>>> On Mon, 12 Mar 2007 15:16:53 +0100, "Mattias Hällkvist" <
<br>>> <a href="mailto:mattiasha@gmail.com">mattiasha@gmail.com</a>> wrote:<br>>> > I'm trying to set different front page for anonymous and authenticated<br>>> > users<br>>> > using the front page module <
<a href="http://drupal.org/project/front">http://drupal.org/project/front</a>>. I'd<br>> like<br>>> > the<br>>> > frontpage to have the header but not the right sidebar. In<br>> page.tpl.php
<br>>> > the<br>>> > right sidebar is defined as $sidebar_right. So I thought that I could<br>>> add<br>>> > code to check if the url is <a href="http://domain.com/front_page">domain.com/front_page
</a> and then not print<br>>> > $sidebar_right. Or some other solution that doesn't print the right<br>>> > sidebar<br>>> > on the front_page.<br>>> ><br>>> > I'm a php novice but I'm learning.. I appreciate any help I can get.
<br>>> ><br>>> > Thanks!<br>>> > /Mattias<br>>> ><br>>> ><br>>><br>>> --<br>>> [ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/
</a> ]<br>><br>><br><br>--<br>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</blockquote></div><br>