Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

TypeError: $(...).addEvent is not a function 11.03.2013 15:40

Hi,

I am trying to get a simple calculator working on a site just updated to Joomla 2.5.9. I exported the calculator from Joomla 1.5 and it was working fine, but since the upgrade to Joomla 2.5 it no longer works (I purchased the updated component for Joomla 2.5 and installed it, then imported the calculator from Joomla 1.5).

I have tried importing your example calculators, but none of them work either, so I cannot see what is wrong. The only error message that I can find in my Firefox browser is "TypeError: $(...).addEvent is not a function
Source File: http://www.eaucoolers.co.uk/bottled-vs-plumbed-calculator
Line: 561"

You can see the error if you go to www.eaucoolers.co.uk/bottled-vs-plumbed-calculator, but nothing happens when you click the calculate button.

Please help urgently.

Re: TypeError: $(...).addEvent is not a function 11.03.2013 16:11

Hello,
that message usually means the mootools library is not longer working on your site (or some other content on the page is making it crash). We can see the mootools library is being imported on your template, so it seems some other plugin is causing conflict.
Please try to disable for a while the extension

swMenuFree

and try again the calculator page. We can see it's importing a jquery library without using noconflict instruction. This could be the origin of your issue.

Regards
Moonsoft Team
www.moonsoft.es

Re: TypeError: $(...).addEvent is not a function 11.03.2013 17:31

Thank you for your super fast response.

I am unable to disable the swMenuFree, as I need this for my menu system, so I am looking at changing the coding to load JQuery in no conflict mode so that hopefully this will fix the problem.

Thank you.

Re: TypeError: $(...).addEvent is not a function 12.03.2013 09:19

Hello,
seems the conflicts have been reported with other plugins when using the swmenu. We found a forum thread from that component support with some suggestions about how to solve this issue. We paste it here in case it may help you:

http://swmenupro.com/index.php?option=com_jfusion&Itemid=302&jfile=index.php&topic=11881.0


Regards
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Our clients' feedback