Magento Newsletter form not working - magento

I am trying to add a newsletter signup form to my Magento site creativeinfusion.com.au/shop
The problem is that the email address doesn't get added to the subscribers list.
I have tried both of these below in my content block.
{{block type="core/template" template="newsletter/subscribe.phtml"}}
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
Neither one adds the subscribers email address to the CMS. I am assuming that the code above is not linking to the correct file?

This code:
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
Works great for V-1.7.x.x.

The correct line to add to the cms is the following:
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
Because newsletter/subscribe is the correct block. I added it in a clean Magento installation and it worked fine.
What is happening for you? Is the subscription form not showing at all? Is it not posting? Is it not storing the entered email adresses?
Since it works out of the box it sounds like it could be some other module or js/css that interferes with the process.

{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}} <- This works for me.

Related

Magento contact form gives 404 page on submit?

I searched the net to find a solution for this, but all I could find does not work in my case. I have a contact CMS page under https://example.com/contact-us.
The form displays fine. When I fill in data and hit the submit button, it gives me the 404 error.
I tried all possible URLs for the form URL, but none of them worked so far. This is what I am currently using:
{{block type="core/template" name="contactForm" form_action="https://example.com/index.php/contacts/index/post/" template="contacts/form.phtml"}}
Could the https be the problem? If not, what else could I try?
Thanks!
Try this one:
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"}}
or
{{block type="core/template" name="contactForm" form_action="{{store direct_url='contacts'}}/index/post" template="contacts/form.phtml"}}
Please notice form_action.

Unable to display products of home page in Magento 1.8.1

After successful installation of Magento 1.8.1 in a system. Everything works fine, but unable to display products on the home page. As posted on Magento website, I modified the home page design using admin interface CMS >> Pages >> Home Page >> Design.
As shown in the Magento Wiki page below lines were added in the second line of home page design -
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
Still, the products are not displayed on home page.
What should be done to display the products on home page.
I'm using Ubuntu 13.04 server, with MySQL 5.5 database and Magento version 1.8.1 downloaded using SVN
In your xml file add this and remove the block from CMS > Home Page section
<cms_index_index>
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" as="product_homepage" template="catalog/product/new.phtml"/>
</reference>
</cms_index_index>
Please check this:
New product doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.
First you have to check if product is define new product in manage product or not. If not then you have to assign product as new product then and then it display in new product. Please check image
Then you have to check product is in stock. and don't forgot to clear cache after changes
Let me know it helps you any way
Step 1: Login into your Magento Admin Dashboard;
Step 2: Go to: CMS -> Pages -> And choose Home Page;
Step 3: Now you must see the some edit options which will be applied for the HomePage.
Step 4: Go to: Contet Tab from left;
Step 5: Add following snippet in the WYSIWYG (As know as “What You See Is What You Get”)
;
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
I was have the same problem sometimes. Need to check products quantity, status set to enabled, products must be in stock. Also need to re-index data and clear all caches. After all products will be display in the site homepage.

Map feature not working on Home Page

I am using Magento version 1.7.0.2 and I set MAP feature in my site.
MAP feature work perfectly in category listing and product detail page but in home page its give me js error.
Reference Error: Catalog is not defined
Anybody know how can I resolve it?
ok. After some research I got the solution.
To make MAP pop-up work on the home page, add these code in local.xml of your theme:
<cms_index_index>
<update handle="MAP_popup" />
</cms_index_index>
It should be added somewhere between <layout> and </layout>.

Frontend Customer Registration and newsletter subcription not working in magento 1.6.2

I can't figure out what the real problem is..
When I click the link login in the header it takes me to the customer login page..
But on that page none of the buttons works after submitting the data..
Login button on customer login page does not work
Submit Button on create account page does not work..
Newsletter subcription button does not work...
Lad, have the same problem with newsletter.
Just installed the new version of Magento, 1.6.2.0 and didn't see the input.
Insert this:
<reference name="footer">
<block type="newsletter/subscribe" name="footer_newsletter" as="footer_newsletter" before="cms_footer_address" template="newsletter/subscribe.phtml"/>
</reference>
into /app/design/frontend/YOUR-PACKAGE/YOUR-THEME/layout/newsletter.xml into block.
Then go to /app/design/frontend/YOUR-PACKAGE/YOUR-THEME/template/page/html/footer.phtml, find there this:
<?php echo $this->getChildHtml() ?>
replace with this:
<?php echo $this->getChildHtml('footer_newsletter') ?>
It worked to me. I havent review login page, but I hope my advice with the newsletter will be useful. Good luck!

Newsletter Signup on CMS page in Magento

How can I add Magento's default newsletter signup module within a CMS page? Thanks
found it.
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
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.
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>
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.

Resources