Jump to content

Boton Search


Recommended Posts

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!!!

post-508702-0-16685500-1364898856_thumb.jpg

Link to comment
Share on other sites

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

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

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

  • Like 1
Link to comment
Share on other sites

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

{*
* 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'}

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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

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

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