Forums

[FIXED] Timepicker not working

thesaltydog 29 Mar, 2011
Hi,
I have just installed ChronoForms 4 rc 1.7 on Joomla 1.5.22 but I have a strange behaviour with the timepicker which is not working.

I have taken a screenshot to show you the effect: http://socrates.homedns.org/public/timepicker.png

The timepicker is below the main page and I cannot click on it. Each time I click it disappears, without writing any date in the field.
GreyHead 29 Mar, 2011
Hi thesaltydog,

Are you using IE9 as your browser? If so then this is probably a known MooTools bug which is fixed in MooTools 1.2.5 . . . but so far I have failed to get MooTools 1.2.5 to run correctly using the Joomla! MooTools Upgrade plug-in. Hopefully we'll set a new Joomla! release to fix the IE9 problem.

If you aren't using IE9 then please post a link to the form so we can take a quick look.

Bob
grafik 30 Mar, 2011
Hi Fabio

It is 99% a problem with z-index. because when i "set them negative" with firebug, than i can click on timepicker

try to add this to your template css:
.datepicker_dashboard {z-index: 900}


or you have to set this z-index from 5 to 0
.center-site {z-index:0}

and try to create a tableless template :wink:

Greetings out of Switzerland
grafik
GreyHead 30 Mar, 2011
Hi Fabio,

I agree with grafik, adding that first snippet to the to the Form CSS (or the template CSS if you prefer) should fix the problem.

Bob
thesaltydog 30 Mar, 2011
Yeah! That does the trick!

Thank you all.

Fabio
Wedgels 04 Apr, 2011
Hi - it still doesn't work for me using IE9. Just to let you know - it has always worked in Chrome and Firefox.

Whereabouts in the template.css should I put the line? Do I drop it in at the top or under the form section? I have tried both and it makes no difference. I can only guess that I am putting it in the wrong place.
GreyHead 04 Apr, 2011
Hi wedgels,

What doesn't work for you? Fabio's problem was a very particular one from the template he was using.

There are problems with Joomla! plus MooTools 1.2 and IE9 that may be causing your problem.

Bob
thesaltydog 05 Apr, 2011
Hi Bob,

due to conflicts in the template, I had to disable the Mootools update plugin. Of course, the datepicker is no more working...

Is there any trick to have the datepicker working without enabling the mootools upgrade?

Fabio
GreyHead 05 Apr, 2011
Hi Fabio,

Only to revert to ChronoForms 3.2 as far as I know. CFV4 requires MooTools 1.2+

I see that there is a small Joomla! 1.5 upgrade today but I don't think it fixes the IE9 issue :-(

Bob
thesaltydog 05 Apr, 2011
Hi Bob,

thank you for the fast reply.
The only reason I need mootools upgrade is the datepicker, but it is causing me a lot of errors on the template.
Do you think I could find a way top disable mootools upgrade and install a separate datepicker?
GreyHead 05 Apr, 2011
Hi Fabio,

I imagine that you can do that with CFv4, I haven't tried though.

Various other things may break in ChronoForms v4 without the upgrade - admin, validation, republish, tooltips, etc. I'm not sure how much is now MooTools 1.2 dependent.

Bob
thesaltydog 05 Apr, 2011
If the mootools upgrade is so important, I'm afraid I should start looking for another form module... The whole site must be built around the template which doesn't like the mootool upgrade.
GreyHead 05 Apr, 2011
Hi Fabio,

You can switch back to ChronoForms 3.2 that works with Mootools 1.1

I just checked the full_screen_3 demo at joomspirit.com and that is running with MooTools 1.3 and claims to be Joomla! 1.6 compatible. So the current template version should be consistent with CFv4.

Bob
thesaltydog 05 Apr, 2011
Bob,

I have just spoken with the full_screen3 at joomspirit, and he told me absolutely to disable del mootools plugin, as it is the cause of severe errors in the template (I am using joomla 1.5.22). In fact, if I disable it verything is working (not CF 4 datepicker).

Is there a way to backport the 4 forms I already have developed in CF4, or should I restart fromm scratch?
thesaltydog 05 Apr, 2011
Bob,

this is the answer from the developer at joomspirit:

"I understand but it's a problem of Joomla 1.5 not with the template. Joomla 1.5 work natively with Mootools 1.1 and almost all extensions work with this version. So I can't code the template for Mootools 1.2 because this version isn't compatible with 1.1."
GreyHead 05 Apr, 2011
Hi Fabio,

I'm sorry, you seem to have gotten caught in the middle here. This is a side effect of the Joomla! developers decision to add the MooTools Upgrade plug-in to Joomla! 1.5 - I know that Max protested at the time but I think they were under pressure from some of the developers of 'big' extensions :-(

If the Joomla! 1.5 version of the template doesn't support MooTools 1.2 then I think that you have to go back to ChronoForms 3.2 (or another forms extension). CFv4 was written for MooTools 1.2 and won't run without it, we have tried to make this clear but some confusion is inevitable :-(

There is no automatic downgrade or upgrade for ChronoForms forms. You can copy and paste over the Form HTML and some other code but any other functionality has to be rebuilt and the Wizard Edits won't work on the copied HTML.

Sorry not to have better news.

Bob
Wedgels 06 Apr, 2011
I cannot get the date control to work under IE9. Works fine in all other browsers. Using a fairly simple template.
GreyHead 07 Apr, 2011
Hi wedgles,

It appears to be working Ok here.

Please post a link to the form so we can take a quick look.

Bob
Wedgels 14 Apr, 2011

Hi wedgles,

It appears to be working Ok here.

Please post a link to the form so we can take a quick look.

Bob



Sorry for taking so long to post back but here is the link: http://www.ingletoncottages.com/ingleton-cottages/book-now.html

Using 3.2. Works fine in Chrome 10 and Firefox 4 but IE9 stops the time picker from working. Driving me nuts. If you can help me fix it I'll buy you TWO beers! 🙂
Wedgels 16 Apr, 2011
I've fixed it!

I just needed to switch on the MooTools upgrade option in the Plugin manager which I noticed as a requirement for ChronoForms 4. The control doesn't line up as neatly as it does in Chrome or FireFox but at leats it now works. Sorry if thie was explained before and I misunderstood.

Out of interest what is the MooTools upgrade a part of? Is it installed as part of Joomla os it it something that Chronoforms adds?
Wedgels 16 Apr, 2011
Well - I thought I'd fixed it.

The problem is - as I am sure you know - that if I switch on the MooTools plugin upgrade the calendar control works in IE9 but the form wizard fails to work in the back end!

I have noticed that there is a hack to allow MooTools to work with the new version in the front end. But it is a bit of a nonsense having to work around it like this. I tried Chronoforms 4 in the hope that I could get round the issue but after setting up a new form I received this error on every page in my site: Cannot redeclare class HTML_ChronoContact in /home/samsmith/public_html/components/com_chronoforms/chronoforms.html.php

So I am stuck in trying to use v4.
thesaltydog 16 Apr, 2011
CF 4 works only if you enable the Mootools upgrade (1.2) plugin in Joomla.

With the upgrade enabled, you have the datepicker on the fronted and all the CF wizard functionality in the backend.
Wedgels 16 Apr, 2011

CF 4 works only if you enable the Mootools upgrade (1.2) plugin in Joomla.



Except - as in my post above - if I use 4 as soon as I enable Chronoforms I get the error: Cannot redeclare class HTML_ChronoContact in /home/samsmith/public_html/components/com_chronoforms/chronoforms.html.php on every page on my site.

So I had to turn that off very quickly.
Max_admin 17 Apr, 2011
Hi,

Please install the new RC1.8, it should fix this issue you are having!

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.