Jump to content

How do I make this form work


Recommended Posts

<body>

<div>

<p><br><br></p>

<center><strong>Website coming soon! In a little while you will be able to pre-register for great deals on this website!</strong></center>

<p><br><br></p>

<p><br><br></p>

<form action="http://ileafashionsonline.com/index.php?controller=authentication" method="post" id="create-account_form" class="std">

<fieldset>

<h3>Create your account</h3>

<div class="form_content clearfix">

 

<p class="title_block">Enter your e-mail address to create an account.</p>

<div class="error" id="create_account_error" style="display: none;"></div>

<p class="text">

<label for="email_create">E-mail address</label>

<span><input id="email_create" name="email_create" value="" class="account_input" type="text"></span>

</p>

<p class="submit">

<input class="hidden" name="back" value="my-account" type="hidden"> <input id="SubmitCreate" name="SubmitCreate" class="button_large" value="Create your account" type="button">

 

<input class="hidden" name="SubmitCreate" value="Create your account" type="hidden">

</p>

</div>

</fieldset>

</form>

 

<form action="http://ileafashionsonline.com/index.php?controller=authentication" method="post" id="login_form" class="std">

<fieldset>

<h3>Already registered?</h3>

 

<div class="form_content clearfix">

<p class="text">

<label for="email">E-mail address</label>

<span><input id="email" name="email" value="" class="account_input" type="text"></span>

</p>

<p class="text">

<label for="passwd">Password</label>

<span><input id="passwd" name="passwd" value="" class="account_input" type="password"></span>

 

</p>

<p class="lost_password"><a href="http://ileafashionsonline.com/index.php?controller=password">Forgot your password?</a></p>

<p class="submit">

<input class="hidden" name="back" value="my-account" type="hidden"> <input id="SubmitLogin" name="SubmitLogin" class="button" value="Log in" type="submit">

</p>

</div>

</fieldset>

</form>

 

</div>

 

</body>

Link to comment
Share on other sites

in this case it is necessary to edit the core of the store, you have to edit maintenance page sources (you have to create register functions) + edit the .tpl file of your template to display this form.

it is not easy as it seems, are you familiar with php (mvc, oop) ?

Link to comment
Share on other sites

Would it be possible to add a new folder called maybe, custom_reg and place the tpl and maintainence files in there and use that?

I am familiar with php and oop but not so much with mvp. And I am very new to prestashop.

 

Thanks!

Link to comment
Share on other sites

×
×
  • Create New...