nicou31 Posted February 28, 2016 Share Posted February 28, 2016 (edited) Bonjours , J'installe un nouveau site de pièce détachée automobile j'ai un module de recherche par marque de voiture j'ai juste un soucis que lorsque je sélectionne une option le module ce recharge pas pour affichée la deuxième option. Si j'actualise la page manuellement l'option s'affiche . Je sous prestashop 1.6.0.14 Je vous met le module en ligne si vous souhaitez voir le code, merci pour votre soutien cela fait déjà une semaine que je cherche et trouve pas d'erreurs Edited February 28, 2016 by nicou31 (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 28, 2016 Share Posted February 28, 2016 Bonjour, Vous devriez retirer le lien vers votre module car il contient des données sensibles. De plus vous avez modifié le code d'origine du module peut être serait judicieux de tester avec la version originale du module. Link to comment Share on other sites More sharing options...
nicou31 Posted February 28, 2016 Author Share Posted February 28, 2016 Ok j'ai fait les modif voici le code : <!-- Block blockpanelselection module --> <div id="blockpanelselection_block_home" class="block blockpanelselection"> <h4 class="title_block">RECHERCHE VEHICULE</h4> <div class="block_content"> <!-- START show panel serch by FRANCE --> {if $dysp_panel_france} <form method="get" action="{$link->getPageLink('search')|escape:'html'}" id="search_france_num"> <p class="block_content"> <input type="hidden" name="controller" value="search" /> <img src="https://upload.wikimedia.org/wikipedia/en/thumb/c/c3/Flag_of_France.svg/900px-Flag_of_France.svg.png" id="ImgFlag" title="Plate number (France)" alt="Plate number (France)" style="width:45px;height:30px;"> <input type="text" id="Edit_France_num" name="plnum" style="width:160px" value="Votre immatriculation"> <input type="hidden" name="bovsoftservice" value="4" /> <input type="submit" id="search_button" class="button_mini" value="GO >" /> </p> </form> <hr> {/if} <!-- END show panel serch by FRANCE --> <!-- START show panel selection cars --> {if $dysp_panelcars} <!-- *********************** --> <p>ANNEE : <select id="years_list" onchange=" document.cookie = 'select_year_car=' + document.getElementById('years_list').value; document.cookie = 'select_id_brand_car=0'; document.cookie = 'select_id_model_car=0'; document.cookie = 'select_id_type_car=0'; getBrands(document.getElementById('years_list').value, {$id_lang}, {$id_shop}); "> <option value="0">Select Annee</option> {if $list_years} {for $i=0 to count($list_years)-1} <option value="{$list_years[$i]|escape:'html'}" {if $list_years[$i] == $select_year_car} selected="selected"{/if}>{$list_years[$i]|escape:'html':'UTF-8'}</option> {/for} {/if} </select> <!-- *********************** --> MARQUES : <select id="brand_list" onchange=" document.cookie = 'select_id_brand_car=' + document.getElementById('brand_list').value; document.cookie = 'select_id_model_car=0'; document.cookie = 'select_id_type_car=0'; getModels(document.getElementById('brand_list').value, document.getElementById('years_list').value, {$id_lang}, {$id_shop}); "> <option value="0">Select Marques</option> {if $list_brands} {foreach from=$list_brands item=list_brand} <option value="{$list_brand.id_bra|escape:'html'}" {if $list_brand.id_bra == $select_id_brand_car} selected="selected"{/if}>{$list_brand.nameBrand|escape:'html':'UTF-8'}</option> {/foreach} {/if} </select> <!-- *********************** --> MODELES : <select id="model_list" onchange=" document.cookie = 'select_id_model_car=' + document.getElementById('model_list').value; document.cookie = 'select_id_type_car=0'; getTypes(document.getElementById('brand_list').value, document.getElementById('model_list').value, document.getElementById('years_list').value, {$id_lang}, {$id_shop}); "> <option value="0">Select modele</option> {if $list_models} {foreach from=$list_models item=list_model} <option value="{$list_model.id_model|escape:'html'}" {if $list_model.id_model == $select_id_model_car} selected="selected"{/if}>{$list_model.nameModel|escape:'html':'UTF-8'}</option> {/foreach} {/if} </select> <!-- *********************** --> VERSION : <select id="type_list" onchange=" document.cookie = 'select_id_type_car=' + document.getElementById('type_list').value; location.reload(); "> <option value="0">Select Version</option> {if $list_types} {foreach from=$list_types item=list_type} <option value="{$list_type.id_type|escape:'html'}" {if $list_type.id_type == $select_id_type_car} selected="selected"{/if}>{$list_type.nameType|escape:'html':'UTF-8'}</option> {/foreach} {/if} </select> <!-- *********************** --> {if $select_id_type_car != 0} <!-- <button id="CleanDataCar_home" type="button" onclick=" document.cookie = 'select_year_car=0'; document.cookie = 'select_id_brand_car=0'; document.cookie = 'select_id_model_car=0'; document.cookie = 'select_id_type_car=0'; location.reload(); " name="" value=""> Clean > </button> ------------------ --> <button id="OpenCar_home" type="button" onclick="window.location='{$link->getCategoryLink((int)$select_id_type_car)}'" name="" value=""> Go > </button> {/if} </p> <!-- *********************** --> {/if} <!-- END show panel selection cars --> </div> </div> <!-- /Block blockpanelselection module --> Link to comment Share on other sites More sharing options...
ferchumdp Posted February 21, 2017 Share Posted February 21, 2017 Bonjour, Quel est le nom de ce module? Où je peux le trouver? Merci Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now