How to move the newsletter subscription block to the footer in Magento 1.4

The Magento 1.4 update provides an effective way of modifying themes that keeps changes separate from the default files through the use of the layout.xml. This allows for layout changes to be kept in one location. For a full explanation of this see ‘The better way to modify Magento layout“.

Classy Llama’s article provided the answer on how to move the newsletter signup from its position in the left column (within the blank theme) to the footer.

The changes are all carried out within the layout.xml located in app/design/frontend/default/theme-name/layout/local.xml.

First remove the block from the left column using the ‘unsetChild’ method to do this. (The remove method cannot be used in this instance as this works in a global context and so will remove all instances of the newsletter.)

<reference name=”left”>
<action method=”unsetChild”><name>right.newsletter</name></action>

Then add the newsletter to the footer.

<reference name=”footer”>
<block type=”newsletter/subscribe” before=”-” name=”right.newsletter” template=”newsletter/subscribe.phtml”/>

To position the block before the full content use the before=”-“. See Magento re-ordering block items for more details.

7 thoughts on “How to move the newsletter subscription block to the footer in Magento 1.4

  1. Diego says:

    Hi, I’m trying to move the newsletter from left to footer, but I’m don’t have the file local.xml.

    Should I try to change the newsletter.xml file ?

    Can you help me please ?

    Thanks a lot !

    • Julie says:

      Hi Diego,

      If you are using 1.4 you need to place layout.xml into app/design/frontend/default/theme-name/layout/local.xml. (see the Classy Llama link in the post for more details).

      If you are using a previous version then you should be able to modify app/design/frontend/default/theme-name/layout/newsletter.xml in the same manner.

      Hope this helps.

  2. Tom says:

    Hello, On my home page (bottom left) I have 2 blocks 1st one is “My Cart” 2nd one is “Compare Products”.

    Does anyone know how I can place my “newsletter signup” above the “My Cart” block?

    Thank you for helping.


Leave a Reply

Your email address will not be published. Required fields are marked *