Jump to content

(SOLVED)customeracccount creation


Recommended Posts

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 by pat123 (see edit history)
Link to comment
Share on other sites

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

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...