patrick81 Posted January 12, 2013 Share Posted January 12, 2013 Is there an easy way to disable register? I only want to keep login form. I want to add accounts in admin panel only. Can you help me where I can do that. Thanks! Patrick Link to comment Share on other sites More sharing options...
patrick81 Posted January 12, 2013 Author Share Posted January 12, 2013 never mind! display:none; will do. Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2013 Share Posted January 12, 2013 never mind! display:none; will do. it's not as simple as it seems even with display:none; i can register in your shop. The best way is to change tpl files, not css 1 Link to comment Share on other sites More sharing options...
patrick81 Posted January 12, 2013 Author Share Posted January 12, 2013 it's not as simple as it seems even with display:none; i can register in your shop. The best way is to change tpl files, not css yeah you're right. I looked in authentication.tpl. Is it good idea to remove this? <form action="{$link->getPageLink('authentication', true)}" method="post" id="create-account_form" class="std"> <fieldset> <h3>{l s='Create your account'}</h3> <div class="form_content clearfix"> <h4>{l s='Enter your e-mail address to create an account'}.</h4> <div class="error" id="create_account_error" style="display:none"></div> <p class="text"> <label for="email_create">{l s='E-mail address'}</label> <span><input type="text" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|stripslashes}{/if}" class="account_input" /></span> </p> <p class="submit"> {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if} <input type="button" id="SubmitCreate" name="SubmitCreate" class="button_large" value="{l s='Create your account'}" /> <input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create your account'}" /> </p> </div> </fieldset> </form> Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2013 Share Posted January 12, 2013 yeah you're right. I looked in authentication.tpl. Is it good idea to remove this? sure it's better method than display:none 1 Link to comment Share on other sites More sharing options...
patrick81 Posted January 12, 2013 Author Share Posted January 12, 2013 okay thanks! Link to comment Share on other sites More sharing options...
Recommended Posts