Side blocks

I need a little help here.



I want to remove the site and center blocks from some pages so what i did was this:



On the index.tpl a replaced this


<br />
{include file="main.tpl"}<br />

```<br />
<br />
With this:<br />
<br />
```php
<br />
{if $page.page_id >= "4" && $page.page_id <= "6" || $page.page_id == "30"}<br />
       {include file="pages.tpl"}<br />
{else}<br />
       {include file="main.tpl"}<br />
{/if}<br />

```<br />
<br />
i made a copy of the file main.tpl and renamed it to pages.tpl<br />
<br />
and i mofified the pages.tpl to this:<br />
<br />
```php
{* $Id: main.tpl 10618 2010-09-13 11:50:51Z alexions $ *}<br />
<br />
{block group="top" assign="top"}<br />
{block group="bottom" assign="bottom"}<br />
<div id="container" class="container-long"><br />
	{hook name="index:main_content"}<br />
	<div id="header">{include file="top.tpl"}</div><br />
	{/hook}<br />
	<br />
	<div id="content"><br />
		<div class="content-helper clear"><br />
			{if $top|trim}<br />
			<div class="header"><br />
				{$top}<br />
			</div><br />
			{/if}<br />
			<br />
			{hook name="index:columns"}<br />
			<div class="central-column"><br />
				<div class="central-content"><br />
					{include file="common_templates/breadcrumbs.tpl"}<br />
					{include file="common_templates/notification.tpl"}<br />
					<br />
					{block group="central"}<br />
				</div><br />
			</div><br />
		<br />
			{/hook}<br />
			<br />
			{if $bottom|trim}<br />
			<div class="bottom clear-both"><br />
				{$bottom}<br />
			</div><br />
			{/if}<br />
		</div><br />
	</div><br />
	<br />
	<div id="footer"><br />
		<div class="footer-helper-container"><br />
			<div class="footer-top-helper"><span class="float-left"> </span><span class="float-right"> </span></div><br />
			{include file="bottom.tpl"}<br />
			<div class="footer-bottom-helper"><span class="float-left"> </span><span class="float-right"> </span></div><br />
		</div><br />
	</div><br />
</div>
```<br />
<br />
and it works just fine but the center blocks are still showing and there is no way of removing them. If i remove the line "{block group="central"}" that will so remove the contents of the page.<br />
<br />
Can any one help.

It is still the hompage whether you’re forcing the template to be or not. Hence any blocks destined for the home page will be shown.