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 the blocks get put ontop of eachother. How do I make them side by side on the front-page?
<br><br>Cheers!<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>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.<br><br>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.<br><br>--Larry Garfield<br><br>On Mon, 12 Mar 2007 15:16:53 +0100, "Mattias Hällkvist" <<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 like<br>> the<br>> frontpage to have the header but not the right sidebar. In page.tpl.php<br>> the<br>> right sidebar is defined as $sidebar_right. So I thought that I could 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> ]</blockquote></div><br>