如何在magento 1.7前端创建新的登录页面。将从表中提取用户标识和密码。我也想实现忘记密码的功能。
答案 0 :(得分:0)
如果您使用的是cms页面,可以放置以下代码
{{block type="customer/form_login" name="customer_form_mini_login" template="customer/form/mini.login.phtml"}}

或者,如果您正在使用.phtml文件,请添加以下行
<?php
echo $this->getLayou()->createBlock('customer/form_login')->setTemplate('customer/form/mini.login.phtml')->toHtml();
?>
&#13;
如果您有任何疑问,请与我们联系。
谢谢,
Sagar的