pat123 Posted January 21, 2014 Share Posted January 21, 2014 (edited) Because we do not distribute a newsletter and there are (for the moment) no partners I commented out the newsletter-inscription and "receive offers..." in the accountcreation. At least I tried but somehow it doesn't work. The file I modified was authencitation.tpl located in $HOME_DIR/themes/default : {* {if isset($newsletter) && $newsletter} <p class="checkbox"> <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} autocomplete="off"/> <label for="newsletter">{l s='Sign up for our newsletter!'}</label> </p> <p class="checkbox"> <input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} autocomplete="off"/> <label for="optin">{l s='Receive special offers from our partners!'}</label> </p> {/if} *} Forced recompiling is set in advanced features/prestation and cleared the SMARTY-cache Did I miss something that I must do ? Edited March 25, 2014 by pat123 (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted January 21, 2014 Share Posted January 21, 2014 There are two section for this, you need comment both blocks of code, This is one: {if isset($newsletter) && $newsletter} <p class="checkbox"> <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} autocomplete="off"/> <label for="newsletter">{l s='Sign up for our newsletter!'}</label> </p> <p class="checkbox"> <input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} autocomplete="off"/> <label for="optin">{l s='Receive special offers from our partners!'}</label> </p> {/if} This is second: {if $newsletter} <p class="checkbox" > <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} autocomplete="off"/> <label for="newsletter">{l s='Sign up for our newsletter!'}</label> </p> <p class="checkbox" > <input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} autocomplete="off"/> <label for="optin">{l s='Receive special offers from our partners!'}</label> </p> {/if} Link to comment Share on other sites More sharing options...
pat123 Posted January 22, 2014 Author Share Posted January 22, 2014 Thanks indeed it works now 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