I have custom module that registers customers for an event/product. I created a page that displays the registration form from my module.

The link to the registration page is in the footer.

When a user clicks on the footer link, I don't want users to be able to see the registration form if they aren't logged in.

So I need them to first see the login/register screen and only once they successfully login/register they should get redirected to the page with my module's registration form.

screenshot: enter image description here In attached image its should show form fields after login/register magento1

1 Answer 1


Try this


Hope it will help you.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.