Forums

Datepicker malfunction in Joomla 3.x

Lesanjo 25 Feb, 2013
Hello again,

I have noted a serious problem involving the Datepicker module of chronoform 3.5.2.5 in Joomla 3.x.
From what I can perceive , it seems the configuration functionality of the dayepocker by the custom datepicker action is lost: this means that I cant format the Datepicker element and the interface is also less functional during date and time selection.

In addition , when toggling between year , month and day selection, clicking a desired month (a layer that appears above the dates layer) inadvertently selects an undesired date.

Any opinion?
GreyHead 25 Feb, 2013
Hi Lesanjo,

I don't know specifically about Joomla 3.0 but we do know that there are problems like this using the MonkeyPhysics date-picker in Joomla! 2.5. Which one are you trying?

Bob
Lesanjo 25 Feb, 2013
the same selection issue has been carried along from Joomla 2.5.7 to 3.x but this time round even defining time (24 vs 12hr systems) and date output formatting is absolutely lost...
GreyHead 25 Feb, 2013
Hi Lesanjo,

Which datepicker are you using?

Bob
Lesanjo 25 Feb, 2013
the default element that ships with chronoform; I think its still powered by mootools. Maybe its malfunction in Joomla 3.x is associated with the paradigm shift from mootools to jquery JavaScript libraries
GreyHead 25 Feb, 2013
Hi Lesanjo,

Please switch to the MooTools datepicker (which also ships with ChronoForms). Please see this FAQ for more info.

Bob
Lesanjo 26 Feb, 2013
I did as advised by the FAQ but nothing happened . I'm beginning to think it's unique to Joomla 3.x

My only other option is to hardcode a jQuery UI datepicker and bind it to a text element. Let me get on this. Will appreciate your ideas on how I can get this done
GreyHead 26 Feb, 2013
Hi Lesanjo,

I just ran a test and I agree, the basic MooTools datepicker works OK in Joomla! 3.0 but the Custom MooTools Datepicker action appears to do nothing at all. I'll try to chase down the bug when I have some time.

jQuery is loaded by Joomla! in v 3,0 so it should be fairly straightforward to add a jQuery datepicker.

Bob
Lesanjo 03 Mar, 2013
Hi again,

I don't know what I'm doing wrong: I have verified the presence and version of the jQuery UI using alert(jQuery.ui.version) and this part is okay.

However, I'm not able to get the datepicker to appear using

jQuery("#datepicker").datepicker();

Any ideas?
GreyHead 04 Mar, 2013
Hi Lesanjo,

Sorry, I don't speak JQuery (or only very badly).

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