Forums

Reducing the number of libraries called

kbrookes 26 Aug, 2015
Hi there,

I'm in the middle of making a switch from RSForms and am checking out the alternatives. Loving the form builder - really intuitive, and the fact that it's immediately bootstrapped is a real bonus.

However Chronoforms is loading a lot of libraries into the head of my page - 22 in fact.

A lot of these would seem to be unnecessary as I'm already loading Bootstrap, FontAwesome and jQuery through the template.

The form I'm using is also not using modals, tabs or sliders - I could potentially reduce the number of libraries loaded to just 11, half the current load.

I can't see any way to control this in the component settings or the plugin.

Is there a recommended method for dealing with this?

Regards,

Kelsey
GreyHead 26 Aug, 2015
Hi Kelsey,

Changing the Theme on the Styles tab may reduce these a bit but I don't think it will remove all of them.

Bob
kbrookes 26 Aug, 2015
Thanks GreyHead - using that removes the four Bootstrap & Fontawesome libraries, but still leaves jquery and a lot of redundant files; tabs/slides/etc.

It'd be great if there was a way to suppress this somehow.

K
GreyHead 27 Aug, 2015
Hi Kelsey,

You can try hacking the code if you like, in the file /libraries/cegcore/libs/document.php from line 104 on is the code used to load the libraries. You can comment out any that you want to block.

I do recall that, at one point, CF was using a later version of jQuery than Joomla!, that may now have changed with new Joomla! releases.

Bob
This topic is locked and no more replies can be posted.