Le sujet a déjà été posté je sais ici mais que en version bas debit :
http://modxcms.com/forums/index.php/topic,8172.0/wap2.html
Il y a des prblèmes avec ifrance sous Modx qui je pense son générés par ce code javascript :
<script type="text/javascript">
/* <![CDATA[ */
if (top.frames.length!=0) {
top.location=self.document.location;
}
function doLogin() {
var f, values;
if(!self.Ajax) document.loginfrm.submit();
else {
f = $(’loginfrm’);
params = ’ajax=1&’ + Form.serialize(f);
url = ’processors/login.processor.php’;
new Ajax.Request(url,{method:’post’,parameters:params,onComplete:ajaxReturn});
Form.disable(f);
return false;
}
}
function ajaxReturn(response) {
var text = response.responseText;
var header = text.substr(0,9)
if (header.toLowerCase()==’location:’) top.location = text.substr(10);
else {
var f = $(’loginfrm’);
Form.enable(f);
alert(text);
}
}
/* ]]> */
</script>