pmsolla Posted September 13, 2016 Share Posted September 13, 2016 Buenas tardes a todos, Utilizo Prestashop 1.6 con la plantilla default bootstrap, y quería añadir un enlace en el lugar que señalo en captura adjunta al mensaje. Concretamente en la parte superior, al lado del enlace al Contacto, La selección de idioma (si está activada) y el botón de acceso a la pantalla de autenticación. ¿Dónde debo realizar esta modificación? Gracias por vuestra ayuda. Link to comment Share on other sites More sharing options...
Rolige Posted September 13, 2016 Share Posted September 13, 2016 Lo podrias poner en el modulo blockcontact, especificamente en el archivo: /themes/default-bootstrap/modules/blockcontact/nav.tpl Reemplaza todo el contenido del archivo por este: {* * 2007-2016 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <div id="contact-link" {if isset($is_logged) && $is_logged} class="is_logged"{/if}> <a href="{$link->getPageLink('contact', true)|escape:'html':'UTF-8'}" title="{l s='Contact us' mod='blockcontact'}">{l s='Contact us' mod='blockcontact'}</a> </div> <div id="contact-link"> <a href="/" title="{l s='Otro texto' mod='blockcontact'}">{l s='Otro texto' mod='blockcontact'}</a> </div> {if $telnumber} <span class="shop-phone{if isset($is_logged) && $is_logged} is_logged{/if}"> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> </span> {/if} Tal como lo deje es una mala practica porque estoy copiando un bloque y repitiendo el mismo ID de elemento, pero es para que puedas tener una idea, ya solo debes cambiar el ID del elemento y copiar el CSS del #contact-link para que lo repliques. Link to comment Share on other sites More sharing options...
pmsolla Posted September 14, 2016 Author Share Posted September 14, 2016 Genial, lo pruebo y os comento. Muchas gracias. 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