davidir Posted September 5, 2013 Share Posted September 5, 2013 (edited) Quiero quitar algún campo del menú que me sale arriba de todo (INICIO, ESPECIALES, SU CUENTA, CONTACTO Y MAPA DEL SITIO),dónde se modifica? Edited September 8, 2013 by davidir (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Revisa en el fichero: blockpermanentlinks-header.tpl ¿Cual es tu web? Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 soy el chico de antes, taracidochic.com Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Vale, ya recuerdo tu web es esta: http://www.taracidochic.com/ entonces es el fichero: tmpermanentlinks-header.tpl que encontraras dentro del directorio: modules/tmpermanentlinks/ Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 Al abrirlo me sale esto: {** 2007-2013 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-2013 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}<!-- Block permanent links module HEADER --><ul id="header_links"> <li id="header_link_contact"><a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='contact' mod='blockpermanentlinks'}">{l s='contact' mod='blockpermanentlinks'}</a></li> <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='sitemap' mod='blockpermanentlinks'}</a></li> <li id="header_link_bookmark"> <script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks' js=1}');</script> </li></ul><!-- /Block permanent links module HEADER --> Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Revisa mi ultima respuesta: http://www.prestashop.com/forums/topic/272798-men%C3%BA-en-la-parte-superior-block-permanent-links/?do=findComment&comment=1366459 es otro fichero. Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 Nada más abro el ftp, en modules, tmpermanentlinks y en él tmpermanentlinks-header.tpl (adjunto captura del archivo), me sale este texto Hay otro tmpermanentlinks en la carpeta modules de la plantilla pero ése sólo hay "translations" Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 esverdad me confundí, perdón. estoy en ello Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 ¿Como fue todo al final? Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 Pues quiero quitar ESPECIALES y Mapa DEL SITIO, sólo es borrar las líneas? Me sale esto: <!-- Block permanent links module HEADER --><ul id="tmheaderlinks"> <li><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmpermanentlinks'}</a></li> <li><a href="{$link->getPageLink('prices-drop')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='specials' mod='tmpermanentlinks'}</a></li> <li><a href="{$link->getPageLink('my-account', true)}" {if $page_name == 'my-account'} class="active"{/if}>{l s='Your Account' mod='tmpermanentlinks'}</a></li> <li><a href="{$link->getPageLink('contact', true)}" {if $page_name == 'contact'} class="active"{/if}>{l s='contact' mod='tmpermanentlinks'}</a></li> <li><a href="{$link->getPageLink('sitemap')}" {if $page_name == 'sitemap'} class="active"{/if}>{l s='sitemap' mod='tmpermanentlinks'}</a></li></ul><div class="mobile-link-top"><h4><span>MENU</span> <span class="open-menu"></span></h4><ul id="mobilelink"><li {if $page_name == 'index'} class="active"{/if}><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'prices-drop'} class="active"{/if}><a href="{$link->getPageLink('prices-drop')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='specials' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'new-products'} class="active"{/if}><a href="{$link->getPageLink('new-products')}" {if $page_name == 'new-products'} class="active"{/if}>{l s='New products' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'my-account'} class="active"{/if}><a href="{$link->getPageLink('my-account', true)}" {if $page_name == 'my-account'} class="active"{/if}>{l s='Your Account' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'contact-form'} class="active"{/if}><a href="{$link->getPageLink('contact', true)}" {if $page_name == 'contact'} class="active"{/if}>{l s='contact' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'sitemap'} class="active"{/if}><a href="{$link->getPageLink('sitemap')}" {if $page_name == 'sitemap'} class="active"{/if}>{l s='sitemap' mod='tmpermanentlinks'}</a></li></ul></div><!-- /Block permanent links module HEADER --> Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Así: <!-- Block permanent links module HEADER --> <ul id="tmheaderlinks"> <li><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmpermanentlinks'}</a></li> {*<li><a href="{$link->getPageLink('prices-drop')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='specials' mod='tmpermanentlinks'}</a></li> *} <li><a href="{$link->getPageLink('my-account', true)}" {if $page_name == 'my-account'} class="active"{/if}>{l s='Your Account' mod='tmpermanentlinks'}</a></li> <li><a href="{$link->getPageLink('contact', true)}" {if $page_name == 'contact'} class="active"{/if}>{l s='contact' mod='tmpermanentlinks'}</a></li> {* <li><a href="{$link->getPageLink('sitemap')}" {if $page_name == 'sitemap'} class="active"{/if}>{l s='sitemap' mod='tmpermanentlinks'}</a></li> *} </ul> <div class="mobile-link-top"> <h4><span>MENU</span> <span class="open-menu"></span></h4> <ul id="mobilelink"> <li {if $page_name == 'index'} class="active"{/if}><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmpermanentlinks'}</a></li> {* <li {if $page_name == 'prices-drop'} class="active"{/if}><a href="{$link->getPageLink('prices-drop')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='specials' mod='tmpermanentlinks'}</a></li> *} <li {if $page_name == 'new-products'} class="active"{/if}><a href="{$link->getPageLink('new-products')}" {if $page_name == 'new-products'} class="active"{/if}>{l s='New products' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'my-account'} class="active"{/if}><a href="{$link->getPageLink('my-account', true)}" {if $page_name == 'my-account'} class="active"{/if}>{l s='Your Account' mod='tmpermanentlinks'}</a></li> <li {if $page_name == 'contact-form'} class="active"{/if}><a href="{$link->getPageLink('contact', true)}" {if $page_name == 'contact'} class="active"{/if}>{l s='contact' mod='tmpermanentlinks'}</a></li> {* <li {if $page_name == 'sitemap'} class="active"{/if}><a href="{$link->getPageLink('sitemap')}" {if $page_name == 'sitemap'} class="active"{/if}>{l s='sitemap' mod='tmpermanentlinks'}</a></li> *} </ul> </div> <!-- /Block permanent links module HEADER --> Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 sólo me ha quedado el botón de inicio¿? Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Pero ¿Has dejado el fichero como te he dicho? Sorry revisa ahora el codigo, que se me escapo una cerradura. Link to comment Share on other sites More sharing options...
davidir Posted September 5, 2013 Author Share Posted September 5, 2013 Ahora perfecto, solucionado! Link to comment Share on other sites More sharing options...
nadie Posted September 5, 2013 Share Posted September 5, 2013 Un placer ayudarte y servirte!Un saludo y recuerda que estaremos en el foro, para guiarte por este mundo oscuro y tenebroso. Link to comment Share on other sites More sharing options...
davidir Posted September 6, 2013 Author Share Posted September 6, 2013 Hola de nuevo, deseo añadir el campo "Nuestras tiendas"(http://www.taracidochic.com/tiendas) al menú de arriba como último botón. Cómo he de añadir o modificar a la línea de ejemplo: <li><a href="{$link->getPageLink('my-account', true)}" {if $page_name == 'my-account'} class="active"{/if}>{l s='Your Account' mod='tmpermanentlinks'}</a></li> Link to comment Share on other sites More sharing options...
nadie Posted September 6, 2013 Share Posted September 6, 2013 <li> <a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Nuestras tiendas' mod='tmpermanentlinks'}" {if $page_name == 'stores'} class="active"{/if}>{l s='Nuestras tiendas' mod='tmpermanentlinks'}</a> </li> 1 Link to comment Share on other sites More sharing options...
Recommended Posts