wzr1one Posted January 31, 2013 Share Posted January 31, 2013 Hello, i have a little problem, i add login box to product site, but when i login by this its redirecting me automatic to 'my account' site, how can i change it ? {else} {capture name=path}{l s='Login'}{/capture} <h1>{l s='Log in'}</h1> <form action="{$link->getPageLink('authentication', true)}" method="post" id="login_form" class="std"> <fieldset> <h3>{l s='Already registered?'}</h3> <div class="form_content clearfix"> <p class="text"> <label for="email">{l s='E-mail address'}</label> <span><input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|stripslashes}{/if}" class="account_input" /></span> </p> <p class="text"> <label for="passwd">{l s='Password'}</label> <span><input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|stripslashes}{/if}" class="account_input" /></span> </p> <p class="lost_password"><a href="{$link->getPageLink('password')}">{l s='Forgot your password?'}</a></p> <p class="submit"> {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if} <input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="{l s='Log in'}" /> </p> </div> </fieldset> </form> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts