pinguinodigital09O Posted May 19, 2013 Share Posted May 19, 2013 (edited) 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 May 20, 2013 by delarosan1 (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 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 More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 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 More sharing options...
pinguinodigital09O Posted May 19, 2013 Author Share Posted May 19, 2013 (edited) pero no quiero cambiarlo quiero eliminarlo pd: edito , no he visto tu ultimo mensaje ahora te cuento xD eres rapido como un rayo Edited May 19, 2013 by delarosan1 (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 Hablo de: blocksearch.tpl Por que tienes el buscado en el lateral de tu tienda. Si lo tuvieras en la cabecera, seria el fichero: blocksearch-top.tpl Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 pero no quiero cambiarlo quiero eliminarlo pd: edito , no he visto tu ultimo mensaje ahora te cuento xD eres rapido como un rayo Sabia lo que ibas a escribir Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 19, 2013 Author Share Posted May 19, 2013 (edited) 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 May 19, 2013 by delarosan1 (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 no me funciona, que puedo estar haciendo mal...? ¿Has forzado compilacion, en la pestaña Parametros Avanzados -> Rendimiento ? Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 19, 2013 Author Share Posted May 19, 2013 no estaba forzando la compilacion pero lo acabo de poner, limpiado la cache resubir el fichero y sigue igual.. Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 ¿Como has dejado el blocksearch.tpl ? Pega codigo en el foro. Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 19, 2013 Author Share Posted May 19, 2013 {* * 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 More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 ¿Es este: /themes/default/modules/blocksearch/blocksearch.tpl ? ¿El que has modificado? ¿si o no? Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 19, 2013 Author Share Posted May 19, 2013 ftp://[email protected]/httpdocs/modules/blocksearch/blocksearch.tpl opsss perdona he modificado este Link to comment Share on other sites More sharing options...
nadie Posted May 19, 2013 Share Posted May 19, 2013 ftp://[email protected] opsss perdona he modificado este Modifica el que te he dicho. Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 20, 2013 Author Share Posted May 20, 2013 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 More sharing options...
nadie Posted May 20, 2013 Share Posted May 20, 2013 Si te bajas el fichero, aparece modificado o ¿no? Prueba vaciar la compilacion con este modulo: http://www.prestashop.com/forums/topic/238282-modulo-flush-caches-compile-ps15/ Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 20, 2013 Author Share Posted May 20, 2013 si bajo el archivo aparece modificado y ya he vaciado la compilacion y la cache con el modulo que me has pasado y nada sigue igual Link to comment Share on other sites More sharing options...
pinguinodigital09O Posted May 20, 2013 Author Share Posted May 20, 2013 Ya lo he conseguido, ahora como podria dejar menos margen entre el bloque busqueda y categorias? he probado con margin-bottom:-5px; Pero no baja.. habria que hacerlo de otra manera? Gracias. Link to comment Share on other sites More sharing options...
Recommended Posts