Forums

Chronoforms + Gtranslate don't work properly!

giamas 17 Mar, 2011
Hi to everyone,
I'm going to merge ppotentiality of Chronoforms + flexability of Gtranslate, a translation module find out in Joomla repository.
Unfortunately it seems to me they doesn't work properly if I try to translate pages "on the fly" by means of some jQuery calls.
http://www.alfieriinforma.it/index.php?option=com_content&view=article&id=481&Itemid=239
There you'll find both in actions.
How can I solve the problem?
Somewhere in the forum I've read of a "noConflict" call for jQuery.
Any on of yuu can suggest me what can I do to solve this issue?

Thanks!
Giampaolo
GreyHead 17 Mar, 2011
Hi Giampaolo,

I've had a quick look and don’t see any obvious errors but the form doesn’t submit so there must be some problem :-(

You'd certainly need to put jQuery into NoConflict mode. I've pasted my standard jquery reply below to see if it helps you at all.

Bob

Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.

There is also a neat Joomla! system plugin named SC jQuery that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode.
giamas 17 Mar, 2011
Damn it! :-) your sugestions doesn't work.
any other suggestions?
This topic is locked and no more replies can be posted.