Jump to content

Menú en la parte superior (Block permanent links) SOLUCIONADO


Recommended Posts

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

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"

post-671987-0-36443800-1378388592_thumb.jpg

Link to comment
Share on other sites

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

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...