Informaticaelec.com Posted April 2, 2013 Share Posted April 2, 2013 Hola buenos días chicos, aprovecho para poner las poquitas dudas que me quedan!! En mi pagina, he echo de todo para poder poner "buscar" en el boton de search, de momento, no he sido capaz, me quedo a la espera de los maestros... porque con la experiencia que tenemos muchos tan excasa en programacion... tenemos que pedir siempre ayuda. Os pongo una capturita para que podais ver el boton: Como siempre..... Gracias comunidad!!! Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 2013 Hola buenos días chicos, aprovecho para poner las poquitas dudas que me quedan!! En mi pagina, he echo de todo para poder poner "buscar" en el boton de search, de momento, no he sido capaz, me quedo a la espera de los maestros... porque con la experiencia que tenemos muchos tan excasa en programacion... tenemos que pedir siempre ayuda. Os pongo una capturita para que podais ver el boton: Como siempre..... Gracias comunidad!!! ¿Pero has traducido el texto del botonen la pestaña Localizacion -> Traducciones -> Traducciones de los módulos? Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 2013 Pegame el contenido de tu fichero: http://www.informaticaelec.com/mervir/themes/INFORMATICAELEC/modules/blocksearch/blocksearch-top.tpl un segundo. Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 (edited) ¿Pero has traducido el texto del botonen la pestaña Localizacion -> Traducciones -> Traducciones de los módulos? Si Nadie, traducí todo. Saludos Gracias Nadie Edited April 2, 2013 by Informaticaelec.com (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 2013 Dame el contenido de tu fichero: http://www.informaticaelec.com/mervir/themes/INFORMATICAELEC/modules/blocksearch/blocksearch-top.tpl un segundo. Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 Pegame el contenido de tu fichero: http://www.informaticaelec.com/mervir/themes/INFORMATICAELEC/modules/blocksearch/blocksearch-top.tpl un segundo. {** 2007-2012 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*'>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-2012 PrestaShop SA* @version Release: $Revision: 7331 $* @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('Busqueda', 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 --> Gracias Nadie Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 2013 te he comentado el fichero: blocksearch-top.tpl no el blocksearch.tpl Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 (edited) Eso esta muy bien, pero te he dicho del fichero: blocksearch-top.tpl no del blocksearch.tpl De ahí creo que no, voy a probar. Saludos amigo! PD: No encuentro el archivo que me indicas Nadie, donde esta ese archivo? Gracias!!! Edited April 2, 2013 by Informaticaelec.com (see edit history) Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 He buscado por todos sitios Nadie, pero no lo localizo... Saludos Gracias!!! Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 2013 He buscado por todos sitios Nadie, pero no lo localizo... Saludos Gracias!!! Si no esta aqui: http://www.informaticaelec.com/mervir/themes/INFORMATICAELEC/modules/blocksearch/blocksearch-top.tpl estara aqui: http://www.informaticaelec.com/mervir/modules/blocksearch/blocksearch-top.tpl 1 Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 Si no esta aqui: http://www.informaticaelec.com/mervir/themes/INFORMATICAELEC/modules/blocksearch/blocksearch-top.tpl estara aqui: http://www.informaticaelec.com/mervir/modules/blocksearch/blocksearch-top.tpl {* * 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 seach mobile --> {if isset($hook_mobile)} <div class="input_search" data-role="fieldcontain"> <form method="get" action="{$link->getPageLink('search')}" id="searchbox"> <input type="hidden" name="controller" value="search" /> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="search" id="search_query_top" name="search_query" placeholder="{l s='Search' mod='blocksearch'}" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> </form> </div> {else} <!-- Block search module TOP --> <div id="search_block_top"> <form method="get" action="{$link->getPageLink('search')}" id="searchbox"> <p> <label for="search_query_top"><!-- image on background --></label> <input type="hidden" name="controller" value="search" /> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> <input type="submit" name="submit_search" value="{l s='Search' mod='search'}" class="button" /> </p> </form> </div> {include file="$self/blocksearch-instantsearch.tpl"} {/if} <!-- /Block search module TOP --> Lo encontré Nadie, muchas gracias. Que tendría que modificar de aquí? Saludos y de nuevo gracias amigo Link to comment Share on other sites More sharing options...
nadie Posted April 2, 2013 Share Posted April 2, 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 seach mobile --> {if isset($hook_mobile)} <div class="input_search" data-role="fieldcontain"> <form method="get" action="{$link->getPageLink('search')}" id="searchbox"> <input type="hidden" name="controller" value="search" /> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="search" id="search_query_top" name="search_query" placeholder="{l s='Search' mod='blocksearch'}" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> </form> </div> {else} <!-- Block search module TOP --> <div id="search_block_top"> <form method="get" action="{$link->getPageLink('search')}" id="searchbox"> <p> <label for="search_query_top"><!-- image on background --></label> <input type="hidden" name="controller" value="search" /> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> <input type="submit" name="submit_search" value="{l s='Search' mod='search'}" class="button" /> </p> </form> </div> {include file="$self/blocksearch-instantsearch.tpl"} {/if} <!-- /Block search module TOP --> Lo encontré Nadie, muchas gracias. Que tendría que modificar de aquí? Saludos y de nuevo gracias amigo Esto: {l s='Search' mod='search'} por esto: {l s='Search' mod='blocksearch'} 1 Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 2, 2013 Author Share Posted April 2, 2013 No ha habido suerte... Ahora sale esto Nadie Saludos Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted April 3, 2013 Author Share Posted April 3, 2013 (edited) Hola buenos días chicos, alguna solución por favor? Saludos Gracias de antemano!!! Edited April 3, 2013 by Informaticaelec.com (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 Hola buenos días chicos, alguna solución por favor? Saludos Gracias de antemano!!! Intenta dejarlo asi: {l s='Nueva Palabra Clave' mod='blocksearch'} Y dime si Nueva Palabra Clave lo puedes traducir o no. Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 Es decir asi: <input type="submit" name="submit_search" value="{l s='Nueva Palabra Clave' mod='blocksearch'}" class="button" /> 1 Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 Y recuerda forzar compilacion. Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted May 10, 2013 Author Share Posted May 10, 2013 Gracias Victor, vamos a probarlo. Gracias por todo!!! Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 Gracias Victor, vamos a probarlo. Gracias por todo!!! Y bien como ha ido. ¿? ¿Hubo un fracaso total o no? 1 Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted May 10, 2013 Author Share Posted May 10, 2013 Y bien como ha ido. ¿? ¿Hubo un fracaso total o no? jeje, anda que... la madre que me parió.... Lo del boton ya se hizo hace tiempo... lo siento Victor por no dar el tema por solucionado, aun así, genial tenerlo aquí para otra vez. Un Abrazo Victor Gracias nuevamente. Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 jeje, anda que... la madre que me parió.... Lo del boton ya se hizo hace tiempo... lo siento Victor por no dar el tema por solucionado, aun así, genial tenerlo aquí para otra vez. Un Abrazo Victor Gracias nuevamente. Y la soluciona que aplicastes... fue al final ¿? Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted May 10, 2013 Author Share Posted May 10, 2013 Y la soluciona que aplicastes... fue al final ¿? Modificar el boton search directamente Saludos Link to comment Share on other sites More sharing options...
nadie Posted May 10, 2013 Share Posted May 10, 2013 Modificar el boton search directamente Saludos Bueno.. ¿Pero entonces, si lo quieres traducir al italiano o al frances, te deja traducirlo? ¿si o no? Link to comment Share on other sites More sharing options...
Informaticaelec.com Posted May 10, 2013 Author Share Posted May 10, 2013 (edited) No, no se modifica... no habia probado eso aun... como estoy tan liado con el puñetero excel... que estoy haciendo uno a mano de casi 7000 productos... Saludos y gracias Victor Edited May 10, 2013 by Informaticaelec.com (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts