Miri Lukis Posted July 16, 2016 Share Posted July 16, 2016 (edited) Hola!! Me gustaría que el cliente, una vez registrado en la tienda, pudiera navegar por la misma y viera su nombre en la parte superior de la página (donde están los enlaces permanentes), o en alguna parte visible. Es que me he fijado que, una vez registrado, si estás navegando por la tienda, para ver si continúas conectado tienes que ir expresamente a mi cuenta o hacer click en el botón de login, donde compruebas si se muestra tu información personal. Espero respuestas!! Muchas gracias!!! Edited July 16, 2016 by Miri Lukis (see edit history) Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 16, 2016 Author Share Posted July 16, 2016 (edited) Hola!! una plantilla de Template Monster. (Theme 54055) Como nunca he visto la que viene por defecto, no tenía ni idea... Y ¿hay alguna manera que pueda "traspasar" esta función de la plantilla por defecto a la mía? Muchas gracias!! Edited July 16, 2016 by Miri Lukis (see edit history) Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 16, 2016 Author Share Posted July 16, 2016 Este es el archivo completo <!-- Block user information module NAV --> {if $logged} <div class="header_user_info"> <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> </div> {/if} <div class="header_user_info"> {if $logged} <a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" 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'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">{l s='Sign in' mod='blockuserinfo'}</a> {/if} </div> <!-- /Block user information module NAV --> Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 16, 2016 Author Share Posted July 16, 2016 Sí, estoy segura. No lo muestra. He desactivado el módulo blockuserinfo y lo he vuelto a activar por si acaso, pero sigue sin salir. También he comprobado los hooks y parece que están bien. Se muestra en Header (Pages html head section) y no hay ninguna excepción. Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 16, 2016 Author Share Posted July 16, 2016 Desde la carpeta de los módulos. Voy a ver si también lo encentro en la de la plantilla... Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 16, 2016 Author Share Posted July 16, 2016 Sí, aquí está. <!-- Block user information module NAV --> <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> {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|truncate:2:'.'|escape:'html':'UTF-8'} {$cookie->customer_lastname}</span> </a> </div> {else} <div class="header_user_info"> <a href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow">{l s='Your Account' mod='blockuserinfo'}</a> </div> {/if} <!-- /Block usmodule NAV --> Link to comment Share on other sites More sharing options...
Miri Lukis Posted July 20, 2016 Author Share Posted July 20, 2016 Hola?? Y ahora qué?? 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