Forums

Template javascript doesn't work with Chronoforms

dave18 25 Mar, 2014
Hello, first of all I want to thank you for this incredible extension!
I am using template Citylife from Joomla XTC on www.civico11.it. I noticed that the nice smoothing parallax effect on the homepage isn't working when I enabled the Chronoforms plugin.
Their support told me on live 194 there is an error:
TypeError: document.id(...) is null
http://www.civico11.it/
Line 194
I tried to install JQuery Easy and pushed some buttons but it did not solve the issue.
Do you peraphs know how to best solve this? thanks a lot
Davide
Max_admin 25 Mar, 2014
Hi Davide,

If this is a new form then I suggest that you try Chronoforms v5 instead of v4, its using JQuery by default and should work fine!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 25 Mar, 2014
Hi Davide,

I checked the page and the problem is because you are loading the ChronoForms scripts but there is no form on the page. That's why the document.id('chronoform_form-name') is not found.

Bob
dave18 25 Mar, 2014
@Max I don't want to switch to V5 as I already created some forms in that site and I felt the V4 is easier for me now as I could do anything easily. I believe the v5 has still some functions not avaiable.

@Bob, thanks for the point. How can I avoid the Chronoforms plugin to load in that page as I do not need it. I downloaded this plugin that is supposed to control the load of js files but I am not able to understand how to use it:

http://joomla-extensions.kubik-rubik.de/jcc-js-css-control

any suggestions?
thanks

Davide
Max_admin 26 Mar, 2014
I'm not sure why the form HTML is not loaded while the validation code is, although both are generated by the same file, I think that there is another plugin/module on your website which runs the chronoforms plugin (or the article contains the cf plugin), but doesn't output the form.

on the other hand, the Chronoforms js code is added to the header which is always loaded, the plugin could not stop this, so you need to find this plugin!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dave18 26 Mar, 2014
Well, the point is that if I deactivate the chronoforms plugin the javascript smooth parallax works, so it must be the chronoforms plugin.
dave18 26 Mar, 2014
actually I have looked at the code and seen that the form "people" was unecessarily loading on the page. I unpublished it and now it works. This is a mystery for me, but ok ...
Max_admin 26 Mar, 2014
But the same form is published under the "Cena" page, so if you unpublish the form then it will not appear there.

That's what Bob was saying, the form is unnecessarily loaded on the front page, and what I think is that something else on your website hides the output or doesn't render it!
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.