Jump to content

Problema visualizzazione nome utente dopo Login


Kiascian
 Share

Recommended Posts

Buongiorno a tutti,

 

Questo è il tema in questione, quando eseguo il login non mi cambia lo stato da  "benvenuto" a "nome utente" ho provato a contattare il costruttore, ma dopo quasi una settimana ancora non ricevo risposta.

 

Questi sono i tpl e css del modulo userinfo, forse qualcuno può aiutarmi a capire se cè un errore.

 

 

blockuserinfo.tpl:

 

 

blockuserinfo.tpl:

<p id="header_user_info">
    <span>{l s='Welcome' mod='blockuserinfo'}</span>
    {if $logged}
        <a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
        <a href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout" rel="nofollow"><span>{l s='Sign out' mod='blockuserinfo'}</span></a>
    {else}
        <a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='Log in to your customer account' mod='blockuserinfo'}" class="login" rel="nofollow">{l s='Sign in' mod='blockuserinfo'}</a>
    {/if}
    <a     class="my-wishlists" href="{$link->getModuleLink('blockwishlist', 'mywishlist', array(), true)|escape:'html':'UTF-8'}" title="{l s='My wishlists' mod='blockwishlist'}">
        <span>{l s='My wishlists' mod='blockwishlist'}</span>
    </a>
</p>

 

blockuserinfo.css

 

#header_user_info{float:right;position:relative;z-index:1;text-transform:uppercase;color:#505050;font-size:12px;margin:0;overflow:hidden;font-weight:600}
#header_user_info > span{display:block;float:left}
#header_user_info a{float:left;display:block;margin-left:29px;width:22px}
#header_user_info a span{text-indent:-9999px;display:inline-block}
#header_user_info .login,#header_user_info .account{background:url(login.png) no-repeat;height:21px;font-size:0;}
#header_user_info .my-wishlists{min-height:20px;background:url(wishlist.png) no-repeat}
#header_user_info .my-wishlists span{display:inline-block;text-indent:-9999px;}
#header_user_info .logout{background:url(logout.png) no-repeat;min-height:22px;}
#header_user_info a:hover{background-position:0 100%;}

 

nav.tpl

 

 

<!-- Block user information module NAV  -->
{if $is_logged}
    <div class="header_user_info">
        <a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
    </div>
{/if}
<div class="header_user_info">
    {if $is_logged}
        <a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log me out' mod='blockuserinfo'}">
            {l s='Sign out' mod='blockuserinfo'}
        </a>
    {else}
        <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">
            {l s='Sign in' mod='blockuserinfo'}
        </a>
    {/if}
</div>
<!-- /Block usmodule NAV -->

 

Grazie a tutti.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More