Jump to content

Recommended Posts

Bonjour à tous,

J'ai un bug d'affichage lorsque j'utilise la recherche rapide :

Au moment ou l'autocomplete se fait, j'ai une zone de texte qui s'affiche en haut à droite de l'ecran puis qui disparait. La recherche fonctionne. Je n'avais pas ce problème auparavant... Peut-être depuis la mise à jour du module (v1.5).

Le module est greffe dans le hook displaytop mais également dans le display header (obligatoire sinon il ne fonctionne pas correctement, même s'il n'est pas affiché).

Merci pour votre aide.

 

www.distriscenes.com

 

Cdt,

 

JHP

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

  • 6 months later...

Idem.

Le TPL blocksearch-top contient ne petite erreur :

 

Remplacer :

<input class="search_query" type="text" id="search_query_top" name="search_query" onfocus="javascript:if(this.value=='{l s='Search' mod='blocksearch'}')this.value='';" onblur="javascript:if(this.value=='')this.value='{l s='Search' mod='blocksearch'}';" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}{l s='Search' mod='blocksearch'}" />

 

par ceci :

 

<input class="search_query" type="text" id="search_query_top" name="search_query" onfocus="javascript:if(this.value=='{l s='Search' mod='blocksearch'}')this.value='';" onblur="javascript:if(this.value=='')this.value='{l s='Search' mod='blocksearch'}';" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{else}{l s='Search' mod='blocksearch'}{/if}" />

 

Emmanuel

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...