tim10 Posted May 14, 2016 Share Posted May 14, 2016 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 More sharing options...
NemoPS Posted May 16, 2016 Share Posted May 16, 2016 Did you try asking the theme developer? How does the blockuserinfo template look like? Or in any case the one containing the login/out code Link to comment Share on other sites More sharing options...
tim10 Posted May 16, 2016 Author Share Posted May 16, 2016 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 More sharing options...
NemoPS Posted May 18, 2016 Share Posted May 18, 2016 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 More sharing options...
tim10 Posted May 18, 2016 Author Share Posted May 18, 2016 Yes it does appear, everything seems to be good in the html code so I really don't understand what is the problem and the developer doesn't answer ... Link to comment Share on other sites More sharing options...
NemoPS Posted May 20, 2016 Share Posted May 20, 2016 The link is there, but in a dropdown menu that doesn't drop downhttp://screencast.com/t/nphaK2oExP8You 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 More sharing options...
tim10 Posted May 21, 2016 Author Share Posted May 21, 2016 Thank you for your answer but sorry I don't understand well what I have to do Link to comment Share on other sites More sharing options...
tim10 Posted May 26, 2016 Author Share Posted May 26, 2016 Anyone please ? 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