The page is this: http://paranici.ro/ and the form is the first one from the top on the right column. What it does is change the language and the currency the site is. It's built in smarty template. Problem is, the language one doesn't work, while the currency one does, even though they're built the same. If i look at it with firebug, the form tags for id="setLanguage" don't not show up, only the table inside them, but they do show if i view the source of the page. I have no idea what's going on. I'll post the code in case it helps. <div id="informations_block_lang" class="block"> <h4>{l s='Lang - Currency' mod='blocklangcurr'}</h4> <div class="block_content"> <form id="setLanguage" action="{$request_uri}" method="post"> <table width="191" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <img src="/modules/blocklangcurr/language.png" /> </td> <td> <select style="width:120px; margin-right:6px; margin-top:0px" name="selectlanguage" id="selectlanguage" onchange="setLanguage(this.value)"> {foreach from=$languages key=k item=language name="languages"} <option value="{$language.id_lang}" {if $language.iso_code == $lang_iso} selected="selected"{/if}>{$language.name}</option> {/foreach} </select> </td> <td> <input type="hidden" name="id_lang" id="id_lang" value=""/> <input type="hidden" name="SubmitCurrency" value="" /></td></tr></table> </form> <form id="setCurrency" action="{$request_uri}" method="post"> <table width="191" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <img src="/modules/blocklangcurr/currency.png" /> </td> <td> <select style="width:120px; margin-right: 6px; margin-top:6px" onchange="setCurrency(this.value)"> {foreach from=$currencies key=k item=f_currency} <option value="{$f_currency.id_currency}" {if $id_currency_cookie == $f_currency.id_currency} selected="selected"{/if}> {$f_currency.name} </option> {/foreach} </select> </td> <td> <input type="hidden" name="id_currency" id="id_currency" value=""/> <input type="hidden" name="SubmitCurrency" value="" /></td></tr></table> </form> </div> </div> HTML: and i have a bit of javascript function setLanguage(id) { $('form#setLanguage input#id_lang').val(id); $('form#setLanguage').submit(); } function setCurrency(id) { $('form#setCurrency input#id_currency').val(id); $('form#setCurrency').submit(); } Code (markup):
I solved the problem, somehow the module only works fine if installed in both hooks left and right, so i just hid it in the left column.