Jump to content

Solucionado - Como elimino cosas de un bloque


Recommended Posts

Pues eso, yo utilizo el firebug,

 

Que tendria que hacer por ejemplo para borrar de el bloque de busqueda:

Buscar e introduzca el nombre del producto?

 

Es decir como se cual es el fichero en el que tengo que entrar para modificarlo??

 

Para que veais mas claro lo que quiero explicar entrar en mi pagina www.tucortina.es

 

Gracias

Edited by delarosan1 (see edit history)
Link to comment
Share on other sites

Pues eso, yo utilizo el firebug,

 

Que tendria que hacer por ejemplo para borrar de el bloque de busqueda Buscar e introduzca el nombre del producto?

 

Es decir como se cual es el fichero en el que tengo que entrar para modificarlo??

 

Para que veais mas claro lo que quiero explicar entrar en mi pagina www.tucortina.es

 

Gracias

 

Esos textos lo puedes cambiar en la pestaña Localizacion -> Traducciones -> Traducciones de los modulos.

Link to comment
Share on other sites

Si quieres eliminar la linea:

 

Introduzca el nombre del producto

 

Puedes o dejar la traduccion en blanco, o editar el fichero:

 

/themes/default/modules/blocksearch/blocksearch.tpl

 

Sino lo tuvieras sobreescrito en tu plantilla, recuerda que es el fichero:

 

/modules/blocksearch/blocksearch.tpl

 

... (Aunque recuerda que siempre es recomendable hacer el override, cuando no se tiene)

 

Buscar esto:

 

  <label for="search_query_block">{l s='Enter a product name or description.' mod='blocksearch'}</label>

 

Y dejalo asi:

 

{*	<label for="search_query_block">{l s='Enter a product name or description.' mod='blocksearch'}</label> *}

 

Si quieres eliminar la cabecera del modulo, busca esto:

 

<h4 class="title_block">{l s='Search' mod='blocksearch'}</h4>

 

Y dejalo asi:

 

{*  <h4 class="title_block">{l s='Search' mod='blocksearch'}</h4> *}

Link to comment
Share on other sites

no me funciona, que puedo estar haciendo mal...?

 

{* <h4 class="title_block">{l s='Search' mod='blocksearch'}</h4> *}

{* <label for="search_query_block">{l s='Enter a product name or description.' mod='blocksearch'}</label> *}

 

 

He modificado el

blocksearch.tpl

 

Ya que lo tengo en el lateral pero nada.. :(

Edited by delarosan1 (see edit history)
Link to comment
Share on other sites

{*

* 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 search module -->

<div id="search_block_left" class="block exclusive">

{* <h4 class="title_block">{l s='Search' mod='blocksearch'}</h4> *}

<form method="get" action="{$link->getPageLink('search', true)}" id="searchbox">

<p class="block_content">

{* <label for="search_query_block">{l s='Enter a product name or description.' mod='blocksearch'}</label> *}

<input type="hidden" name="orderby" value="position" />

<input type="hidden" name="controller" value="search" />

<input type="hidden" name="orderway" value="desc" />

<input class="search_query" type="text" id="search_query_block" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />

<input type="submit" id="search_button" class="button_mini" value="{l s='Go!' mod='blocksearch'}" />

</p>

</form>

</div>

{include file="$self/blocksearch-instantsearch.tpl"}

<!-- /Block search module -->

Link to comment
Share on other sites

acabo de modificarlo y tampoco nada...

 

pego el fichero.

 

 

{*

* 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 search module -->

<div id="search_block_left" class="block exclusive">

{*<p class="title_block">{l s='Search' mod='blocksearch'}</p>*}

<form method="get" action="{$link->getPageLink('search', true)}" id="searchbox">

<p class="block_content">

{*<label for="search_query_block">{l s='Enter a product name' mod='blocksearch'}</label>*}

<input type="hidden" name="orderby" value="position" />

<input type="hidden" name="controller" value="search" />

<input type="hidden" name="orderway" value="desc" />

<input class="search_query" type="text" id="search_query_block" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />

<input type="submit" id="search_button" class="button_mini" value="{l s='go' mod='blocksearch'}" />

</p>

</form>

</div>

{include file="$self/blocksearch-instantsearch.tpl"}

<!-- /Block search module -->

Link to comment
Share on other sites

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