ID filtre => filter_text_Mot clé

  • Posts: 163
  • Thank you received: 11
10 years 3 weeks ago #153921

-- url of the page with the problem -- : www.impress-3d.com/fichiers-3d/product/listing.html (filtre à droite)
-- HikaShop version -- : 2.3.0 + Hikamarket 1.4.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.4.22
-- Browser(s) name and version -- : Firefox 27.0.1
-- Error-message(debug-mod must be tuned on) -- : Page blanche

Bonjour,

Je viens de voir quelque chose qui n'est pas grave mais qui pourrait être gênant.

J'ai créé un filtre de type texte que j'ai appelé "Mot clé".

Lorsque j'affiche ce filtre dans le module de recherche, je vois ceci dans le code source :

<input id="filter_text_Mot clé" type="text" value="" name="filter_Mot_cle"></input>
Comme vous pouvez le constater, l'ID du input est "filter_text_Mot clé" alors que je suppose qu'il devrait être "filter_text_mot_cle".

Cordialement, Nossibé

Last edit: 10 years 3 weeks ago by nossibe63.

Please Log in or Create an account to join the conversation.

  • Posts: 81715
  • Thank you received: 13105
  • MODERATOR
10 years 3 weeks ago #153932

Bonjour,

En effet, ce n'est pas bien grave mais nous allons corriger cela dans la prochaine version.
En attendant, vous pouvez changer la ligne:

$html = '<input '.$style.' name="filter_'.$filter->filter_namekey.'" '.$onBlur.' type="text" id="filter_text_'.$filter->filter_name.'" value="'.$name.'">';
en:
$html = '<input '.$style.' name="filter_'.$filter->filter_namekey.'" '.$onBlur.' type="text" id="filter_text_'.$filter->filter_namekey.'" value="'.$name.'">';
dans adminstrator/components/com_hikashop/class/filter.php

Please Log in or Create an account to join the conversation.

  • Posts: 163
  • Thank you received: 11
10 years 3 weeks ago #153978

Parfait ! Merci Nicolas !

Cordialement, Nossibé

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum