pixeltocode
pixeltocode

Reputation: 5308

Newsletter Signup on CMS page in Magento

How can I add Magento's default newsletter signup module within a CMS page? Thanks

Upvotes: 14

Views: 46110

Answers (5)

pixeltocode
pixeltocode

Reputation: 5308

found it.

{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}

Upvotes: 34

epson121
epson121

Reputation: 443

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.

Upvotes: 11

user4019933
user4019933

Reputation:

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.

Upvotes: 0

jugal
jugal

Reputation: 51

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>

Upvotes: 5

Sandcore
Sandcore

Reputation: 391

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"}}

Upvotes: 28

Related Questions