Chronoforms V5 breaks Joomla toolips

miguelmpn 20 May, 2014
Hi all,

Chronoforms is breaking the Joomla tooltips on the frontend, because there are duplicated Bootstrap.js libraries loaded.
How can I disable Cegcore css and js?

Implicitly, loading Bootstrap CSS and JS twice is slowing down my site.. especially because I need the form always on the footer..

Regards,
Miguel
GreyHead 20 May, 2014
Hi miguelmpn,

I think that Max has posted that setting the Template to None should prevent the files loading.

Bob
miguelmpn 20 May, 2014
Thanks, I just updated and seen that.
It's loading less CSS files, that's great🙂
But bootstrap.js is still there, it would be good to be able to deactivate that one also, Joomla loads him automatically.
Unless the chronoforms bootstrap.js is a modified version there is no need to load it on the frontend.
If it is a modified version you should load only the changed parts, not the complete set of functionality.

Thanks for the reply
GreyHead 20 May, 2014
Hi miguelmpn,

If I have it correct ChronoForms v5 is using Bootstrap3 and Joomla! is still using Bootstrap 2. I guess Max may add an option to turn t off once Joomla! catches up.

Bob

Bob
miguelmpn 21 May, 2014
Yes, that is a huge problem, since my site is loading two bootstrap versions...
That means loading at least 4 more files (including the js), and I'm not talking about jtooltip.js and gvalidation.js
Chronoforms is 35% load of my page, and the form only has 2 input fields, 1 textarea and one captcha..
Max_admin 22 May, 2014
Hi,

Please set the "Form theme" to "none" or to "GCore" under the General tab in your form settings.

If this doesn't clear the bootstrap files completely then you can send me a message using the contact us page to get a new patch file.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
miguelmpn 04 Jun, 2014
I changed back to V4, I can't afford to have all those files loaded just for a simple contact form..
I'll test further versions.

Thanks for the help
I really like this component, hope this is solved in further versions🙂
Max_admin 05 Jun, 2014
Hi Miguel,

v4 is fine and we are not planning to cut its support, so that's fine, but my last update (sent by email) should remove any references to bootstrap files if the form theme is not set to bootstrap.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
miguelmpn 20 Jun, 2014
Sorry for taking this long,
It was actually the time I needed to start another site and test this new feature.
I have to say thanks, it's really better like this🙂
Just missing some checks to prevent loading jquery.inputmask.js, or gtooltip.js if they are not needed, but that's just a suggestion to optimise the component.
miguelmpn 20 Jun, 2014
I noticed you have a check to know if we have jQuery loaded or not, is that right?
Because in my case it's loading jQuery even though I have it loaded on my template.

Either way, again it's just optimization matter, because it does not cause conflicts with the other jQuery library.

Thanks for listening to our suggestions and keep up the good work!😉
Max_admin 01 Jul, 2014
Another jQuery is not a big deal, because its only loaded once then cached, I will try to improve this in future versions, but its done as its because there are many other extensions/modules which use their own old jQuery and this may break the form.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.