Jump to content

"Log out" missing


Recommended Posts

Hello everyone :)

 

My problem is that if you log in, after that you can't log out because there is no button "Log out" or other

 

I tried some stuff in the backoffice, in tpl/html ... but can't find the solution

 

Here is my website: dariluxe.fr

 

Thank you in advance for your help :)

Link to comment
Share on other sites

Hello, yes I did but still no answer ...

 

Here the blockuserinfo:

 

<!-- Block user information module HEADER -->
<div class="btn-group compact-hidden">    
    <a class="btn-xs comparer" href="{$link->getPageLink('comparer', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow"><i class="icon_documents_alt"></i><span>{l s='Comparer' mod='blockuserinfo'}</span></a>
</div>
<div class="btn-group compact-hidden">    
    <a class="btn-xs wishlist" href="index.php?fc=module&module=blockwishlist&controller=mywishlist" title="{l s='View my Wishlist' mod='blockuserinfo'}" rel="nofollow"><i class="icon_heart_alt"></i><span>{l s='Wishlist' mod='blockuserinfo'}</span></a>
</div>    
<div class="btn-group compact-hidden user-info">    
    {if $logged}            
        <a class="btn-xs account" href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow">
            <i class="icon_info_alt"></i><span class="text-box">{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
        </a>
    {else}
        <a data-toggle="dropdown" class="btn-xs dropdown-toggle login" href="{$link->getPageLink('my-account', true)}" title="{l s='Login to your customer account' mod='blockuserinfo'}" rel="nofollow">
            <i class="icon_lock_alt"></i>
            <span class="text-box">{l s='Connexion' mod='blockuserinfo'} / {l s='S\'enregistrer' mod='blockuserinfo'}</span>
        </a>
    {/if}
    <ul role="menu" class="dropdown-menu">
        <li><a href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow">{l s='Mon compte' mod='blockuserinfo'} </a></li>        
        <li><a href="{$link->getPageLink('order', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow">{l s='Caisse' mod='blockuserinfo'} </a></li>
        {if $logged}    
        <li><a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout" rel="nofollow">{l s='Log out' mod='blockuserinfo'}</a></li>
        {/if}
    </ul>
</div>

Link to comment
Share on other sites

Strange, looks like the code is supposed to be there

<li><a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout" rel="nofollow">{l s='Log out' mod='blockuserinfo'}</a></li>

I guess the link with the customer name does appear when you are logged in?

Link to comment
Share on other sites

The link is there, but in a dropdown menu that doesn't drop down

http://screencast.com/t/nphaK2oExP8


You might need extra data here

       <a class="btn-xs account" href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow">
            <i class="icon_info_alt"></i><span class="text-box">{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
        </a>

Like


       <a data-toggle="dropdown" class="btn-xs dropdown-toggle login" href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow">
            <i class="icon_info_alt"></i><span class="text-box">{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
        </a>

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