Calc Builder Support

Calc Builder support
No se permite escribir sin estar logado. Por favor, login

Native support for joomla jquery in Mod Calcbuilder 07.05.2018 13:42


Can you tell me when you will support natively joomla jQuery for Calcbuilder ?
Importing old jQuery libraries breaks a lot of things in joomla


Re: Native support for joomla jquery in Mod Calcbuilder 08.05.2018 09:35

some versions ago we added a set of switches at 'preferences' tab, in order to choose if the module imports jquery framework, bootstrap framework. etc. This switch allows you to use the jquery library already present at your page, and also ensure you'll always have a working version of the library in case your template loads an incompatible version at any time (without having to upgrade/buy our extension again). Even with the switch enabled, importing jquery library is always done using an specific alias for calcbuilder (CB) , so using this instance won't cause any side effect.

Moonsoft Team

Re: Native support for joomla jquery in Mod Calcbuilder 07.09.2018 15:20

We noticed a small problem in the mod calcbuilder template file regarding the line 66

$document->addScript ( JRoute::_ ( $scriptbase . 'jquery-ui-1.10.3.custom.min.js' ) );

This line should be moved outside of the if statement and set line 77 for instance to avoid a js error on pages where the module is displayed and native jquery is provided by the template.

Seems like the file jquery-ui-1.10.3.custom.min.js is not provided by templates and then if we choose not to import bootstrap and jquery this fails.

Can you confirm ?

We use helix ultimate and sppagebuilder pro


Re: Native support for joomla jquery in Mod Calcbuilder 10.09.2018 10:05


With Calc Builder you can choose to import Jquery or not, if you choose to import the component works with no error, but if you choose not to use Jquery, obviously you should provide it in any other way, mostly the template. jQuery and jQueryUI versions are linked, so one jQueryUI version works with some jQuery versions and not with others, so if decide not to use jQuery from Calc Builder, you should provide both(and compatible) jQuery and jQueryUI. Anyway you can choose to include jQuery from Calc Builder as it won't conflict with the one from your template.

About templates, there are more than 10000 templates for Joomla, so we can't confirm if in your specific case you should change the line as you did or there is any other better solution (it should be ok if now it works for you). Only we can give you the reason why jQuery and jQueryUI are linked and why should be added together.

Moonsoft Team
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros