Jump to content

unable to connect to blockmyaccount


Recommended Posts

hello

 

it is impossible to connect to blockmyaccount.

 

As against the connection is no problem when I get IDs via the authentication page

 

I reinstalled the module or to another to no avail

 

thank you for your help

 

pseudo : [email protected]

password : tests

 

this is the tpl de blockmyaccount

 

<!-- Block myaccount module -->
{if $logged}
<div class="block myaccount">
<h4><a href="{$base_dir_ssl}my-account.php">{l s='My account' mod='blockmyaccount'}</a></h4>

<div class="block_content">
	{if $displayhello}
	<center><b>{l s='Hello' mod='blockmyaccount'} {$customerName}</b></center>
	{/if}
	<ul class="bullet">
		<li><a href="{$base_dir_ssl}history.php" title="">{l s='My orders' mod='blockmyaccount'}</a></li>
		{if $returnAllowed}
		<li><a href="{$base_dir_ssl}order-follow.php" title="">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>
		{/if}
		<li><a href="{$base_dir_ssl}order-slip.php" title="">{l s='My credit slips' mod='blockmyaccount'}</a></li>
		<li><a href="{$base_dir_ssl}addresses.php" title="">{l s='My addresses' mod='blockmyaccount'}</a></li>
		<li><a href="{$base_dir_ssl}identity.php" title="">{l s='My personal info' mod='blockmyaccount'}</a></li>
		{if $voucherAllowed}
		<li><a href="{$base_dir_ssl}discount.php" title="">{l s='My vouchers' mod='blockmyaccount'}</a></li>
		{/if}
		{$HOOK_BLOCK_MY_ACCOUNT}
	</ul>
	<p class="logout">
		<a href="{$base_dir}index.php?mylogout" title="{l s='Log out' mod='blockmyaccount'}">{l s='Log out' mod='blockmyaccount'}</a>
	</p>
</div>
</div>
{else}
<div id="connexion_block_left" class="block">
<h4>{l s='My account' mod='blockmyaccount'}</h4>
	<div class="block_content">
		<form action="{$base_dir}authentication.php" method="post">

			<p class="text">
				<label for="email">{l s='E-mail address' mod='blockmyaccount'}</label>
					<span>
						<input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}" class="account_input" />
					</span>
			</p>

			<p class="text">
				<label for="passwd">{l s='Password' mod='blockmyaccount'}</label>
					<span>
						<input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall'|stripslashes}{/if}" class="account_input" />
					</span>
			</p>
			<br/>
			<p class="text">
				{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
				<center>
				<input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="{l s='Log in' mod='blockmyaccount'}" />
				</center>
			</p>

			{if $displaypassword}
			<p class="text">
				<a href="{$base_dir}password.php">{l s='Forgot your password?' mod='blockmyaccount'}</a>
			</p>
			{/if}

			{if $displayregister}
			<p class="text">
				<a href="my-account.php">{l s='No account yet?' mod='blockmyaccount'}
			</p>
			{/if}
</form>

</div>   
</div>  
{/if}
<!-- /Block myaccount module -->

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