How can I add Magento\'s default newsletter signup module within a CMS page? Thanks
My configurations
Check out the image attached above, it worked for me. I went to home page's design tab, and added those lines in "Page Layout".
<block type="newsletter/subscribe" name="home.footer.newsletter" template="newsletter/subscribe-mini.phtml" />
as you can see those lines in the image too.
The mentioned code adds a signup form to a CMS page, but it was non-working for me.
Changing the block type to newsletter/subscribe
fixed that. So working code for me was:
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
Real answer has been added already,
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
but it does not work for some people (on newer versions of Magento). The reason for this, most likely, are block permissions.
The block (newsletter/subscribe
) is not allowed on frontend by default. Go to
System > Permissions > Blocks
and enable it.
found it.
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
Use this in the layout update section of the specific page you want to change.
<reference name="right">
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
</reference>