Jump to content

Best Method to make "Create Your Account" as a Separate Page?


Guest

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...