You made it all the way down here so you must enjoyed this post! You may also like:

Jun 23, 2014

Reusing Magento poll on any page or any block

/ Leave a comment
Login form on Home Page Apr 16, 2014

Create Magento Dropdown Login in a few minutes

/ Leave a comment
Jul 04, 2013

Social Connect Magento extension

/ Leave a comment


  1. This should go in the “Layout Update XML” field of the design tab of the cms page used for the home page not in an xml file. Additionally you did not provide a method to have the block removed after login. So pretty much useless. Nice click bate though.

  2. not working for me here is my code that i can see any help as to were i insert the line thanks 🙂

    CMS Content Wrapper

  3. Nice trick thanks. Though there is one problem with practical implementation. The login/register block keeps showing after the login.

    Logged in users should see some other information instead. Can you advice how to do that?

  4. 1. The quotation marks need to be changed to ” and not the ones shown on the page.
    2. If you show full path of customer.xml and other files, it may be more convenient for beginners.

    Remaining, it worked. Thanks a lot.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.