magento 合并登录和注册页面 Merging registration form with default login page of magento

In customer.xml within your theme you can move the account register block to within the login page.

<reference name="content">            
    <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml">
        <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml" />            
    </block>
</reference>
 

by this u can put html where do u want to place in customer/form/login.phtml

<?php echo $this->getChildHtml('customer_form_register') ?>
 

来源: http://stackoverflow.com/questions/4626398/magento-login-and-register-form-one-page

 

你可能感兴趣的:(agent)