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

Reusing Magento poll on any page or any block Petar Sambolek
Petar Sambolek, | 2

Reusing Magento poll on any page or any block

Create Magento Dropdown Login in a few minutes Petar Sambolek
Petar Sambolek, | 16

Create Magento Dropdown Login in a few minutes

Social Connect Magento extension Marko Martinovic
Marko Martinovic, | 393

Social Connect Magento extension

6 comments

  1. How to add customer account login/register into custom controller form.
    1. customer account login if login successfully then want to show custom form fields.
    2. If click register then directly showing register form.

  2. 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.

  3. 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

  4. 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?

  5. 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>.