How to place a registration form on the Cms page in Magento?

I want to add the registration form to the CM page in Magento, I tried to add this:

{{block type="core/template" template="customer/form/login.phtml"}} 

in the content section of the CMS page, but it does not work. Please help me.

+4
source share
5 answers

This code finally sounded for me.

 {{block type ="Mage_Customer_Block_Form_login" template="customer/form/login.phtml" }} 
+4
source

Open cms.xml in your topic and find the following

 <reference name="content"> <block type="cms/page" name="cms_page"/> </reference> 

Replace it with

 <reference name="content"> <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/> <block type="cms/page" name="cms_page"/> </reference> 

Then your code should work.

0
source

If your version of magento is less than 1.6, use the code below.

 {{block type="customer/login" template="customer/form/login.phtml"}} 

if Magento version 1.6 or higher

 {{block type="customer/login" template="persistent/customer/form/login.phtml"}} 
0
source

Try the following:

 {{block type="customer/form_login" name="customer_form_login_block" template="persistent/customer/form/login.phtml"}} 
0
source

This is the way to do this without modifying any files:

Go to the Design tab In the "Raw XML Layout Update" add the following:

<link name = "content">
<block type = "customer / form_login" name = "customer_form_login" template = "customer / form / login.phtml" after = "-" / ">
</ Link>

There you go. You can also do this in categories.

Tested in Magento 1.8.1 (should work in most versions)

0
source

All Articles