Try the Demo

Magento Forum

   
mini login form
 
tman_f
Sr. Member
 
Total Posts:  85
Joined:  2008-02-12
 

Hi

I am trying to place a mini login form in my home page. In the ‘content’ area of the Admin/CMS/edit pages I have the following:

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

With this I get an Error array with 26 values. Am I overlooking something?

 
Magento Community Magento Community
Magento Community
Magento Community
 
tman_f
Sr. Member
 
Total Posts:  85
Joined:  2008-02-12
 

Nevermind, I found the problem. It seems that mini.login.phtml is incomplete.

Incorrect line:
<form action="<?=$formAction?>" method="post">

Apparently there isnt any variable $formAction in the model. Instead the line should be:
<form action="<?=$this->getPostActionUrl()?>" method="post">

So, if anyone on the Magento team reads this it might be a good idea to fix it for the next release.

Thanks Magento Team- AWESOME PRODUCT!!!!!!!

-biggest fan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Thank you, this file is not used by default, so didn’t get updated for long time smile

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top