magento - Adding mini-login to header of page -


I want to add user login option to the header of my website

I < Pre> & lt; Block type = "customer / form_login" name = "mini_ login" template = "customer / form / mini.login.file" /> app / design / frontend / base / default / layout / page. XML file and

  & lt;   

Php echo $ this-> GetChildHtml ('mini_login')? & Gt; Appear / Design / Frontend / Base / Default / Template / Page / html / header.phtml in the file

, but nothing appears I Hello after & lt ;? Php echo $ this- & gt; GetChildHtml ('mini_login')? & Gt; and Hello appear. I've cleared the cache storage, but it still does not appear

why the login is not showing?

goto customer.xml & lt; Default & gt; & Lt; / Default> Default tag (Path app / design / frontend / your package / your template / layout) code> & lt; Default & gt; .... & lt; Reference Name = "Header" & gt; & Lt; Block type = "customer / form_login" name = "header_customer_form_mini_login" template = "customer / form / mini.login.fmtl" /> & Lt; / References & gt; ... & lt; / Default>

header.phtml Call this file using this code & lt ;? Php echo $ this- & gt; GetChildHtml ('header_customer_form_mini_login');? & Gt;

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -