How do I move the Newsletter form?


I’m trying to move the newsletter form to a section about the ja-botsl on the JM Deco template.

I have tried updating the \app\design\frontend\default\jm_deco\layoutnewsle tter.xml file; however this does not seem to affect anything.

Am I missing something? Would someone please advise what I should do to move the form so it is a ‘flat’ form across the bottom of the page just above the footer section?


3 answers

Profile photo of thangnn1510 0.00 $tone November 8, 2010

Hi Daddia!

Try this:

-- Open "app/design/frontend/default/jm_deco/layout/newsletter.xml"

Replace this line (line 39):

HTML Code:

<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>


HTML Code:

<block type="newsletter/subscribe" name="left.newsletter" as="newsletter" template="newsletter/subscribe.phtml"/>

-- Open "app/design/frontend/default/jm_deco/template/page/2columns-left.phtml"

Add this:

HTML Code:

<?php echo $this->getChildHtml('newsletter') ?>

To where you want the newsletter box to be appeared.

Hope this helps and you are enjoying our products and services

Profile photo of Jonathan Daddia 0.00 $tone November 9, 2010

Great! Thanks for your help.

I also had to change the <reference name="left"> tag in the "app/design/frontend/default/jm_deco/layout/newsletter.xml" file. But it seems to have worked.

Thanks again.


Please login or Register to Submit Answer

Written By