Guest Posted May 6, 2013 Share Posted May 6, 2013 Hey everyone, hope you are all doing well I'm wanting to make the Create Your Account page as a link without entering your email that takes you to a separate registration page. Would my best bet be just to make a separate custom page with the code of the create your account form from authentication.tpl and provide a link to that page on the login page. Would that work or is more complex than that? Thanks in advance! roflmyeggo Link to comment Share on other sites More sharing options...
NemoPS Posted May 7, 2013 Share Posted May 7, 2013 A custom page would be fine, but you have to provide the same validation the authcontroller does Link to comment Share on other sites More sharing options...
Guest Posted May 7, 2013 Share Posted May 7, 2013 Hey Nemo, Thanks for the prompt reply. I'm not sure what you mean by that? If I copy the code from authentication.tpl relevant to the create your account page, should I be fine? Or is there something else I have to add regarding the authcontroller? Appreciate it! roflmyeggo Link to comment Share on other sites More sharing options...
NemoPS Posted May 7, 2013 Share Posted May 7, 2013 Yes, the form redirects you to the authcontroller <form action="{$link->getPageLink('authentication', true)}" method="post" id="create-account_form" class="std"> But if something goes wrong you won't access your previously created page, just the default one, as the authcontroller will redirect you to authentication.tpl...I believe. It's worth trying it out Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now