Magento – Trying to remove some blocks

layoutmagento-1.8template

In my project, I added 2column-left layout to the home page through CMS as discussed here.

enter image description here

As shown in the above image, I am trying to remove the red lined section from the green lined section which has class name as col-main.

I know how to remove blocks through updation layouts but this is some kind of different. there is no template file which holds the red lined block.

Here is the excerpt code from 2columns-left.phtml :

<div class="col-main">
     <?php echo $this->getChildHtml('global_messages') ?>
     <?php echo $this->getChildHtml('content') ?>
</div>

If I remove the content block from the above code then nothing is changing and if I remove global_messages complete green lined section is being removed which I absolutely don't want.

I even tried to search for the template files holding by the above blocks in page.xml. but they don't hold any template file.. (weird).

Here is the page.xml excerpt code:

<block type="core/messages" name="global_messages" as="global_messages"/>
<block type="core/messages" name="messages" as="messages"/>

<block type="core/text_list" name="content" as="content" translate="label">
    <label>Main Content Area</label>
</block>

Not sure what is happening here..

Any help?

EDIT: I have seen just now that the content is in CMS. but will modifying CMS content will effect future magento upgrades?

Any other better way?

Best Answer

  1. Login to admin-end
  2. Go to CMS -> Pages -> click on home page (status = enabled)
  3. click on content
  4. Remove Below code

<p class="home-callout"><a href="{{store direct_url="apparel/shoes/womens/anashria-womens-premier-leather-sandal.html"}}"><img src="{{skin url='images/ph_callout_left_top.gif'}}" alt="" border="0" /></a></p> <p class="home-callout"><img src="{{skin url='images/ph_callout_left_rebel.jpg'}}" alt="" border="0" /></p>