[TYPO3-shop] (x)ajax conflict between tt-products and ods_ajaxmailsubscription

koen.vn nospam at aa.be
Thu Mar 12 04:22:14 CET 2009


Hello everybody,

Extensions:

tt_products 2.5.7
ods_ajaxmailsubscription 0.4.1
xajax 0.2.5
direct_mail 2.6.2
templavoila

In TS I've added the ods_ajaxmailsubscription plugin to lib.newsletter
Now there's on every page with that template, the possibility to 
subscribe for the newsletter.
This is working like a charm, except for the pages where the tt_products 
plugin is active. There it doesn't work anymore.

Below is the HTML source for ajax part of tt_products and 
ods_ajaxmailsubscription.

Anybody an idea how to solve this one?

Kind regards,
Koen Van Nuffelen

******* TT_products: *******

/*<![CDATA[*/
var xajaxRequestUri="http://tpb.obiwebs.be/index.php?id=21";
var xajaxDebug=false;
var xajaxStatusMessages=false;
var xajaxWaitCursor=true;
var xajaxDefinedGet=0;
var xajaxDefinedPost=1;
var xajaxLoaded=false;
function tt_products_showArticle(){return 
xajax.call("tt_products_showArticle", arguments, 1);}
function tt_products_changeValue(){return 
xajax.call("tt_products_changeValue", arguments, 1);}
function tt_products_processFormData(){return 
xajax.call("tt_products_processFormData", arguments, 1);}
/*]]>*/
	</script>
	<script type="text/javascript" 
src="typo3conf/ext/xajax/xajax_js/xajax.js"></script>
	<script type="text/javascript">
window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the 
xajax Javascript file could not be included. Perhaps the URL is 
incorrect?\nURL: typo3conf/ext/xajax/xajax_js/xajax.js'); } }, 6000);
	</script>


******* ods_ajaxmailsubscription: *******

<script type="text/javascript">
/*<![CDATA[*/
var xajaxRequestUri="http://tpb.obiwebs.be/index.php?id=21";
var xajaxDebug=false;
var xajaxStatusMessages=true;
var xajaxWaitCursor=true;
var xajaxDefinedGet=0;
var xajaxDefinedPost=1;
var xajaxLoaded=false;
function processSubscription(){return xajax.call("processSubscription", 
arguments, 1);}
/*]]>*/
	</script>
	<script type="text/javascript" 
src="typo3conf/ext/xajax/xajax_js/xajax.js"></script>
	<script type="text/javascript">
window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the 
xajax Javascript file could not be included. Perhaps the URL is 
incorrect?\nURL: typo3conf/ext/xajax/xajax_js/xajax.js'); } }, 6000);
	</script>

</head>
<body>


More information about the TYPO3-project-tt-products mailing list