2

How can I remove blocks (newsletter,compare) in home page only ?

2

This can be done by using the cms_index_index page handle* in your local.xml

For example for newsletter and compare, when using a standard Magento theme the local.xml would need something like this:

<cms_index_index>
   <reference name="left">
      <remove name="left.newsletter"/>
   </reference>
   <reference name="right">
      <remove name="right.reports.product.compared"/>
   </reference>
</cms_index_index>

Optionally you can also add this in the CMS page custom layout field in the backend.

If you use a custom theme you will need to find the name of the block that holds the subscription form and remove that one.

*credits to Marius for pointing that one out to me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.