php - How do I use mini login in header of magento? -


How do I use mini login in the header of Magenta? I would like to disable the login form even after login.

In your customer.xml file / app / design / frontend / PACKAGE_NAME / TEMPLATE_NAME / layout

This code adds the mini login form to the left column:

  & lt; Customer_logged_out & gt; & Lt; Reference name = "left" & gt; & Lt; Block type = "customer / form_login" name = "mini_login" template = "customer / form / mini.login.file" /> & Lt; / References & gt; & Lt; / Customer_logged_out & gt;  

Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -