Mobility & MightyRegistraton MooTools Clash?

  • atlite
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #9878 by atlite
Using the MightyRegistration User Registration form and Hot Mobility I am getting a error message originating in MooTools.js.

atlite.com.au/login/skylight-data-access/user/register

The jscript error results in the submit button not displaying in the registraton form, which is important.

There are no other modules that display anything fancy loading.

I presume but don't know why or how Mobility is loading mootools.js in this page.It seemes to be loading this in conjuction with a bunch of other calendar-related tools. Any way of preventing these scripts from loading?

Any advice gratefully rec'd.

-tony

Please Log in to join the conversation.

  • atlite
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #9880 by atlite
I found a solution to this problem. The clash was occurring via jQuery. This was only detected by stepping back through site changes. jQuery was the last js component altered since the form was working OK.

In order to solve other gallery problems I installed the lastest cut of jQuery as advised elsewhere. This fixed the gallery, but we did not notice that the register button of MightyRegister disappeared at that time.

Because I have other things that use jQuery this needs to be loaded for all pages so I have added it to index.php. Using the original js include
jquery-1.3.2.min.js did not quite work for gallery displayes in IE & FF.
Using the script that is activated if you toggle "Load jQuery" in the module params - jquery.min.js - works well in all browsers checked so far.

Place the line
<script src="/modules/mod_hot_joomla_gallery/js/jquery.min.js" type="text/javascript">
directly into your index.php file and ensure that the "Load jQuery" parameter is disabled in all module instances.

The other key to this success is using the hot_joomla_gallery module available as a separate download. The version included with the hot_mobility template does not work as well in my experience. I believe this had more to do with the original gallery issues than upgrading the jQuery version.

Please Log in to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum